String até hoje com o IS JavaScript
// string to date with IST javascript/Angular/Angularjs:-
// Assume, dateStr is your date stored as string, Below is simple Solution:-
var date = new Date(dateStr + "Z");
console.log("Sechdule expiry:: ", date);
//In your Angularjs/Angular 2+ Html File:-
" <span> {{schedulePush.expiry | date:'yyyy-MM-dd hh:mm:ss a'}} </span> "
The Ultimate Karam