@DOWI

Print Topic  Return to Overview  Previous Topic  Next Topic 

@DOWI[date[,format]] :  Returns an integer representing the day of the week for the specified date (1 = Sunday, 2 = Monday, etc.). See date formats for information on acceptable date formats.

 

@DOWI 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 %@dowi[01-01-1980]

echo %@dowi[%_date]

 

Topic "f_dowi.htm" last edited 8/31/2006. ©2008  JP Software, Inc.
Keywords: @DOWI,Day of Week