A. Perez Cera
A. Perez Cera

Reputation: 1124

What does the ".000Z" of "yyyy-mm-ddT00:00:00.000Z" mean?

I've gotten a response from one application with the following date & time format:

yyyy-mm-ddT00:00:00.000Z

I need date and time for a report I have to present. What does the .000Z mean? What do I need to do to get the time according to a region using javascript?

Upvotes: 92

Views: 107126

Answers (1)

Chris Card
Chris Card

Reputation: 3266

.000 is the fraction of a second and Z indicates UTC timezone.

How you convert to your local time will depend on which programming language you prefer, but for example Perl has standard modules for parsing and formatting times.

Upvotes: 97

Related Questions