I have a date saved in a string with this format: 2017-09-28T22:59:02.448804522Z this value is provided by a backend service.
2017-09-28T22:59:02.448804522Z
Now, in javascript how can
const anyTime = new Date("2017-09-28T22:59:02.448804522Z").getTime(); const currentTime = new Date().getTime(); if(currentTime > anyTime){ //codes }