@USWEEK — returns a week number (1 to 53) for a given date. The date may be in any input date format supported by this plugin, and must be a valid date within the supported range.

Syntax:
%@USWEEK[date,infmt,dow]

datethe date to examine; defaults to today
infmtthe input date format, used to interpret ambiguous dates
dowthe first day of the week; defaults to Sunday

This function returns the week number for a given date, using a convention common in the United States. All weeks begin on Sunday (or as specified in dow) and end on Saturday (or the sixth day following dow). Week 1 is the week containing January 1, and ends on the first Saturday of the year. Up to six days at the end of a year may fall in week 1 of the following year.

See also: @ISOWEEK, which implements the ISO 8601 week-numbering standard.

• New: This function does not exist in Take Command.