@DOWIS
— returns 1 if the
input date matches one of the specified days of the week, 0 if it doesn’t. The
date may be in any input date format supported by this plugin,
and it must be a valid date within the supported range.
Syntax:
%@DOWIS[
dowmask,
date,
infmt]
dowmask | a list of days of the week to test |
date | the date to examine; defaults to today’s date if omitted |
infmt | the input date format, used to interpret ambiguous dates |
echo %@dowis[mon wed fri]
rem (1 if today is a Monday, Wednesday, or Friday)
echo %@dowis[weekend,07/04,1]
rem (1 if the Fourth of July falls on a Saturday or Sunday this year)
• New: This function does not exist in Take Command.