Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 743
A. Perez Cera Avatar asked Apr 22 '13 15:04

A. Perez Cera


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

like image 168
Chris Card Avatar answered Oct 15 '22 18:10

Chris Card