Clear Up
SharpKit Reference

JsDate.parse Method (JsString)

Parses a JsString containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.

Namespace: SharpKit.JavaScript

Class: JsDate

Syntax

public static JsNumber parse(JsString dateVal)

Parameters

dateVal
Type: SharpKit.JavaScript.JsString
Either a JsString containing a date in a format such as "Jan 5, 1996 08:47:00" or a VT_DATE value retrieved from an ActiveX® object or other object.

Return Value

Type: SharpKit.JavaScript.JsNumber
An integer value representing the number of milliseconds between midnight, January 1, 1970 and the date supplied in dateVal.
© Copyright 2005-2011 SharpKit. All rights reserved.