Lasso Soft Inc. > Home

[Date_GetHour]

[Date_GetHour] returns the hour from a date/time. If no parameter is specified then the current hour is returned, otherwise the hour is extracted from the specified date.

The date parameter should be in standard Lasso date format.

  • Syntax
  • Parameters
[Date_GetHour: Base Date]
Required Parameters
Base Date The date from which to extract the hour.
Examples

To output the current hour of the day:

Use the [Date_GetHour] tag.

<p>The current hour of the day is [Date_GetHour: (Date_GetCurrentDate)].
Result:
<p>The current hour of the day is 13.
Tag Link [Date_GetHour] Category Date
Type Substitution Data Source Any
Support Deprecated Version 3.0
Output Type Integer Security None
Implementation LCAPI 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