For the date's timezone, this method returns the raw offset from GMT in milliseconds. This value is dynamically computed based on the timezone and so it is read-only.
Date Object->zoneOffset
Use the [date->zoneOffset] method. The following example creates a date object and then gets the timezone offset and returns its value.
Code
local(d) = date('2011-02-21 08:00:00')
#d->zoneOffset
Result
-18000000
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