[Date->DST] returns 1 if the date object is in daylight saving time, 0 if the date object is in standard time, or -1 if the date object's status is undetermined.
Date Object->DST
Use the [Date->DST] method. The following examples test whether a date object is in daylight saving time. For 2011 in the United States, daylight saving time starts at March 13, 2:00 AM.
Code
date('2011-03-12 08:00:00')->dst
date('2011-03-13 08:00:00')->dst
Result
false true
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