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?


Answers:


.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.