parseintermediateDate.parse('2024-01-15T00:00:00.000Z') // β 1705276800000
Date.parse('invalid') // β NaNUse Date.parse() to convert a date string into a millisecond timestamp, or detect invalid strings by checking for NaN.
Date.parse('1970-01-01') may return 0 or a small positive offset depending on the local timezone, but is always >= 0.
Challenge: Verify that Date.parse('1970-01-01') >= 0.