Returns the number of milliseconds from 1 January 1970 00:00:00 GMT of the object date passed as argument.
1 date.getTime
<date.getTime />
Returns | |
---|---|
Type | Description |
Long | Milliseconds from 1 January 1970 00:00:00 GMT of the date passed as argument. |
Example
Milliseconds elapsed until the current date.
Copy
<xsql-script name='date_getTime_sample1'> <body> <println> <date.getTime><date>09-01-2005</date></date.getTime> </println> </body> </xsql-script>
Returns:
Copy
1105225200000