@IDOW[date[,format]] : Returns the 3-character abbreviation for the day of the week for the specified date, in the current locale language. See date formats for information on date formats.
@IDOW accepts an optional second parameter specifying the date format:
0 | default |
1 | USA (mm/dd/yy) |
2 | Europe (dd/mm/yy) |
3 | Japan (yy/mm/dd) |
4 | ISO (yyyy-mm-dd) |
Examples:
echo %@idow[01-01-1980]
Tue
echo %@idow[%_date]
Sun
See also: @DOW.