@DOY

Print Topic  Return to Overview  Previous Topic  Next Topic 

@DOY[date[,format]] : Returns the day of year (1 - 366) for the specified date. See date formats for information on acceptable date formats.

 

@DOY accepts an optional second parameter specifying the date format:

 

0default
1USA (mm/dd/yy)
2Europe (dd/mm/yy)
3Japan (yy/mm/dd)
4ISO (yyyy/mm/dd)

 

Examples:

 

echo %@doy[02-02-2005]

echo %@doy[%_date]

 

Topic "f_doy.htm" last edited 8/31/2006. ©2008  JP Software, Inc.
Keywords: @DOY,Day of Year