https://stackoverflow.com/questions/35758963/remove-seconds-milliseconds-from-date-convert-to-iso-string/35759007
new Date().toISOString().replace(/.\d+Z$/g, "Z");
No comments:
Post a Comment