[Date->asDecimal] returns the number of seconds from 1/1/1970 to the date/time object as a decimal.
Date Object->asDecimal
Use the [Date->asDecimal] method. The following example returns the number of seconds from 1/1/1970 to 2011-02-21 as a decimal.
Code
date('2011-02-21')->asDecimal
Result
1298289600.000000
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments