Lasso Soft Inc. > Home

[Date->Year]

[Date->Year] returns a four-digit integer representing the year for a specified Lasso date cast using the [Date] tag.

  • Syntax
  • Parameters
[(Date)->Year]
[(Date)->(Year: -Days)]
Optional Parameters
-Days Returns the integer number of days in the year (e.g. 365).
Examples

To return the year from a Lasso date:

The following example returns the year from the Lasso date 8/29/2002 12:30:00.

[(Date:'8/29/2002 12:30:00')->Year]
Result:
2002
Tag Link [Date->Year] Category Date
Type Member Data Source Any
Support Preferred Version 6.0
Output Type Integer Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0

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