Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Aug 25 2020 00:00:00 GMT+0530

console.log(new Date().toString())
console.log(new Date().toISOString())

// To create it from string
let dateStr = "Fri Apr 20 2020 00:00:00 GMT+0530 (India Standard Time)"
console.log(new Date(dateStr).toISOString())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Aug
ADD COMMENT
Topic
Name
9+5 =