Wednesday 17 May 2017

JS/Node.js How to get date/time in this format: 2017-03-13T04:43:30.916Z

I'm looking to get the current time in this format. Like in Go you an import time and then time.now() will give you the current time in this format. I'm sure there is a library that will do this but I'm having a really hard time tracking it down on google/here. Does anyone happen to know what it is or can point me in the right direction? Thanks much.



via SuperCow

No comments:

Post a Comment