scand

The scand method converts a date into JavaScript Date object.

 

Syntax

System.String scand( cFormat ,  cDate );

 

Parameters

cFormat

format string similar to printd method

cDate

date to convert

 

Return Value

Returns the converted date object, otherwise, null.

 

Remarks

Member of util.

 

Example