@NEXTDATE
— returns the
next date matching a specified month and day. The date may be returned
in any output date format supported by this plugin. If
no output format is specified, it defaults to the local date format with a
four-digit year.
Syntax:
%@NEXTDATE[
month,
day,
date,
fmt]
month | 1 through 12, or JAN … DEC |
day | 1 through 31 |
date | the starting date, in any supported input format; defaults to today’s date |
fmt | the date format used to return the resulting date, and also to interpret ambiguous input dates; defaults to 256 |
This function is handy for dealing with annual events which may or may not have occurred already. For example,
qcal %@nextdate[dec,25]
will display the next Christmas after today’s date — this year’s or next year’s, depending.
• New: This function does not exist in Take Command.