I'm comparing UTC dates and getting this very weird result.
now
is definitely bigger than start
as far as I can tell, yet the statement returns false.
var start = new Date('2021-01-29T21:00:00.000Z');
var now = new Date('2021-01-29T00:16:47.797Z');
console.log(now >= start); //false
question from:https://stackoverflow.com/questions/65947371/javascript-utc-date-comparison-bug