REVIEW - REVIEW - REVIEW - REVIEW - REVIEW - REVIEW - REVIEW - REVIEW -
The Database Service uses an ISO-8601 compliant date format for the display and consumption of date/time values.
The system timezone is in UTC. MySQL converts TIMESTAMP values from the current time zone to UTC for storage, and back from UTC to the current time zone for retrieval. This does not occur for other types, such as DATETIME.
Example 3.2. DB Service Date/Time Format
yyyy-MM-dd'T'HH:mm:ss.SSSZ
See the table below for a description of the date/time format codes.
May 19th, 2011 at 8:07:08 AM, GMT-5 would have the following format:
2011-05-19T08:07:08-05:00
Code | Description |
yyyy | Four digit year |
MM | Two digit month |
dd | Two digit day of month |
T | Separator for date/time |
HH | Two digit hour of day (00-23) |
mm | Two digit minutes of hour |
ss | Two digit seconds of the minute |
SSS | Three digit milliseconds of the second |
Z | RFC-822 timezone |