1.4. Date/Time Format

The Block Storage Service uses an ISO-8601 compliant date format for the display and consumption of date/time values.

 

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

Table 1.3. Explanation of Date/Time Format Codes
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
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page