Supported Date Range:

Dates passed to any internal function or command in this plugin must be in the range of January 1, 1601 through December 31, 9999. Any date outside this range will cause an error. Invalid dates such as April 31, or February 29 of a common year, will also be detected and raise an error.

 MinimumMaximum
ISO 86011601-01-019999-12-31
   week-day1601-W01-19999-W52-7
   ordinal1601-0019999-366
MS-DOS day number-138426+2929244
ANSI day numberA+1A+3067671

Be aware that this plugin uses the Gregorian calendar only. I have made no allowance for earlier or different calendars. Many countries converted from the older Julian calendar at some point within this range, so this plugin may return info that disagrees with actual historical calendars. For instance, dates prior to September of 1752 in the English-speaking world will almost certainly be “wrong”.