Hello All, Is it possbile to convert a time that is returned by a fetch and looks like:
2022-07-18T10:45:00-06:00
to a more avg. usable readable format?
I can use:
You can convert that to a readable date with this code
var time = '2022-07-18T10:45:00-06:00';
console.log(new Date(time).toLocaleString()); //returns "7/18/2022, 12:45:00 PM"