Lasso Soft Inc. > Home

[Date_GetLocalTimeZone]

[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.

  • Syntax
  • Parameters
[Date_GetLocalTimeZone: (Date_GetCurrentDate)]
Examples

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_GetCurrentDate)]
Result:
-0800
Tag Link [Date_GetLocalTimeZone] Category Date
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type String Security None
Implementation Sets Lasso 5.0,LDML3x

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft