Show/Hide Toolbars

Take Command / TCC Help v. 21

@DOWF[date[,format]] : Returns the full English name of the day of the week for the specified date ("Monday", "Tuesday", etc.). See date formats for information on acceptable parameter formats.

 

@DOWF 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)
5ISO 8601 yyyy-Www-d
6ISO 8601 yyyy-ddd

 

Examples:

 

echo %@dowf[01-01-1980]

Tuesday

 

echo %@dowf[%_date]

Sunday

 

See also: @IDOWF.