Although the supported range for Dates are dates after
December 31, 1901, Date objects are created without errors
for other input year values.
This means that when creating a date without specifying a
input format, which uses the default format, DD/MM/YYYY,
if you provide only a two-digit year, it will treat the 2
digits as the full value of the year, and will create a
date in the first century.
Last updated: