Lasso Soft Inc. > Home

[Date_GMTtoLocal]

[Date_GMTtoLocal] converts a date/time from Greenwich Mean Time to local time. The date parameter should be a Lasso date data type or valid Lasso date string.

  • 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 -GMT tag, then converts it to local time.

<p>[Date_GMTtoLocal: (Date), -GMT]
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 Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, 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