Reputation: 1643
I have a need to put this kind of format when doing some action:
2014-11-19T10:07:25.000Z
Like when in a press of an action button, i need to alert the current time in the format above, in javascript, plain and simple...
What is the correct way to do so?
Upvotes: 2
Views: 53