Lasso Soft Inc. > Home

[Date->DayofYear]

[Date->DayofYear] returns the integer day of year from a Lasso data data type cast using the [Date] tag. Returns an integer value out of 365 for standard years, or 366 out of leap years.

  • Syntax
  • Parameters
[(Date)->DayofYear]
Required Parameters
Date The date to be inspected.
Examples

To return the integer day of year from a date:

The following example returns the integer day of year from the date 2/15/2002, which is 46.

[Var:'MyDate'=(Date:'2/15/2002')]
[$MyDate->DayofYear] 
Result:
46
Tag Link [Date->DayofYear] 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