LassoScript Utility
Basics Browse Detail


Tag Link [Date_GetLocalTimeZone] Category Date
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x


[Date_GetLocalTimeZone] returns the local time zone.

The return value is a string in the form +hhmm or -hhmm where the hh portion represents the number of hours from GMT the current server is located and the mm portion represents any partial offset.

For example, Pacific Daylight Time in the United States is -0800 representing an 8 hour offset from Greenwich Mean Time.


[Date_GetLocalTimeZone: -Long]


Optional Parameters
-Long Returns the name of the time zone (e.g. PDT).


To return the time zone of the current Web server:

Use the [Date_GetLocalTimeZone] tag. The following output shows the result for a server located in the Pacific Time Zone of the United States during Daylight Savings Time.

[Date_GetLocalTimeZone: (Date)]