Example 1
Example 2
date.length == 10date[4] == date[7] == '-', and all other date[i]'s are digits.The input is generated such that date represents a valid Gregorian calendar date between Jan 1st, 1900 and Dec 31st, 2100 (both inclusive).Example 1
Example 2
date.length == 10date[4] == date[7] == '-', and all other date[i]'s are digits.The input is generated such that date represents a valid Gregorian calendar date between Jan 1st, 1900 and Dec 31st, 2100 (both inclusive).