I noticed Date.Parse can’t handle only 2 digits dates.
Say I have this
mm/dd/yy = 7/11/20
Date parse will think it is = 7/11/1920. Can you set it to use the year two thousand? Like it’s kinda weird I got the jquery u.i date picker and if you type in 7/11/20 it will figure out 2020.
So it would be nice if Date.parse could keep up I rather have them both not know what is going on or both know what is going on then have one that knows and one that does not know.
Not that I’m aware of. But you can always adjust the year:
This code in action.
Edit: The following code will handle both full and short years:
This code in action.