Lasso Soft Inc. > Home

[ date->asraw ]

Method

[Date->asRaw] returns the number of milliseconds from 1/1/1970 to the date/time object as a decimal.

  • Syntax
Date Object->asRaw
Examples
  • Beginner

To return the number of milliseconds from 1/1/1970 to a date as a decimal:

Use the [Date->asRaw] method. The following example returns the number of milliseconds from 1/1/1970 to 2011-02-21 as a decimal.

Code

date('2011-02-21')->asRaw

Result

1298289600000.000000

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft