Is there a simple way to convert a :
new Date()
into a string with the full format like this :
"YYYY-MM-DDThh:mm:ssZ"
Is there a simple way to convert a :
new Date()
into a string with the full format like this :
"YYYY-MM-DDThh:mm:ssZ"
You need
new Date().toISOString()
This is zulu
time as denoted by "Z" in the last.