DateConstructor.parse(String) Methode

Definitie

Converteert de opgegeven tekenreeksweergave van een datum en tijd naar het Double equivalent ervan.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 static double parse(System::String ^ str);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Date_parse)]
public static double parse(string str);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Date_parse)]
public static double parse(string str);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Date_parse)>]
static member parse : string -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Date_parse)>]
static member parse : string -> double
Public Shared Function parse (str As String) As Double

Parameters

str
String

Een tekenreeks die een datum en tijd bevat die moet worden geconverteerd.

Retouren

Een Double equivalent van de datum en tijd in str.

Kenmerken

Van toepassing op

Zie ook