Get a UTC timestamp [duplicate]

How can I get the current UTC timestamp in JavaScript? I want to do this so I can send timestamps from the client-side that are independent of their timezone.

4 Answers
4

Leave a Comment