The calendar day a value stands for, as a local Date at midnight: from a Date, or from a string starting with YYYY-MM-DD (the time, if any, is ignored). Anything else is undefined.
Date
YYYY-MM-DD
undefined
The calendar day a value stands for, as a local
Dateat midnight: from aDate, or from a string starting withYYYY-MM-DD(the time, if any, is ignored). Anything else isundefined.