Answers for "get ISO-8601 in js"

5

get iso date javascript

var isoDate = new Date().toISOString()
Posted by: Guest on June-05-2020
0

iso 8601 date to Js date

function parseDate(input) {
    return new Date(input); // Note: months are 0-based
  }
parseDate("2021-02-26T11:30:00.000Z")
Posted by: Guest on February-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language