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

A. Perez Cera picture A. Perez Cera · Apr 22, 2013 · Viewed 49.5k times · Source

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?

Answer

Chris Card picture Chris Card · Apr 22, 2013

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