[Date->Timezone] gets or sets the timezone field for a date object.
Getting uses no parameters and returns the timezone value.
Setting requires a string parameter. Setting modifies the date object in-place, but does not return a value.
Date Object->timezone
Date Object->timezone='Time Zone String'
Use the [Date->Timezone] method. The following example uses a date object, gets the timezone, then sets the timezone on the date object and returns its value.
Code
local(d) = date
#d->timezone + '<br>'
#d->timezone='Canada/Central'
#d->timezone
Result
US/Pacific Canada/Central
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