Lasso Soft Inc. > Home

[Date_GMTtoLocal]

[Date_GMTtoLocal] converts a date/time from Greenwich Mean Time to local time. The date parameter should be specified in Lasso date format.

  • Syntax
  • Parameters
[Date_GMTtoLocal]

[Date_GMTtoLocal: Base Date]
Required Parameters
Base Date The date to be converted to local date from GMT.
Examples

To output the current date and time:

Use the [Date_GMTtoLocal] tag to convert the current date/time in Greenwich Mean Time to local time. The following example gets the current date/time using the optional -DateGMT tag, then converts it to local time.

<p>[Date_GMTtoLocal: (Date_GetCurrentDate: -DateGMT)]
Result:
<p>9/13/2001 1:33:05
Tag Link [Date_GMTtoLocal] Category Date
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Date 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