CryptoSys PKI Toolkit Manual

ISO 8601 date-time formats

Functions that require a date-time to be specified in ISO 8601 format (<iso-date-string>) will accept the following formats.

Complete date:
   YYYY-MM-DD (eg 1997-07-16)
Complete date plus hours and minutes:
   YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)
Complete date plus hours, minutes and seconds:
   YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)

where

YYYY = four-digit year
MM   = two-digit month (01=January, etc.)
DD   = two-digit day of month (01 through 31)
hh   = two digits of hour (00 through 23) (am/pm NOT allowed)
mm   = two digits of minute (00 through 59)
ss   = two digits of second (00 through 59)
TZD  = time zone designator (only Z is accepted)

Times are always interpreted as GMT (UTC) times regardless of whether a "Z" time zone designator is appended or not. Time zone designators of the form "+hh:mm" are not accepted. Be careful, if you examine the resulting files in a different time zone, it may display times in local time. This is not an error.

[HOME]   [NEXT: Base64 alternative for X.509 certificates...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.