Lasso Soft Inc. > Home

[Date_GetSecond]

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

The date parameter should be in standard Lasso date format.

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

To output the current number of seconds past the minute:

Use the [Date_GetSecond] tag.

<p>The current number of seconds past the minute is [Date_GetSecond: (Date_GetCurrentDate)].
Result:
<p>The current number of seconds past the minute is 12.
Tag Link [Date_GetSecond] Category Date
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Integer 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