Timestamp/fr

Timestamp (or ConvertibleTimestamp) is a PHP library that provides a convenient wrapper around DateTime to create, parse, and format timestamps.

Formats supportés
Actuellement les formats suivants sont acceptés :


 * A subset of ISO 8601 basic and extended formats:
 * Years before 0000 or after 9999 are not supported.
 * Week and ordinal dates are not supported.
 * Accuracy to seconds is required. Fractions of a second are supported to microsecond resolution.
 * If the timezone is omitted, UTC is assumed.
 * As an extension, the 'T' may be replaced with a single space.
 * As a signed integer (up to 13 digits) representing seconds since the Unix epoch.
 * Optionally with decimal seconds to microsecond resolution, using '.' as the decimal separator.
 * RFC 2822 format, including obsolete syntax.
 * CFWS tokens are not fully supported, use only FWS.
 * Note, per the RFC, all military timezones are considered as -0000.
 * As an extension, the timezone may be omitted entirely in which case UTC is assumed.
 * As an extension, anything after the first semicolon in the string is ignored.
 * format de la RFC 850.
 * asctime format.
 * The,  ,  ,  , and   formats described below.

Pour les sorties, les conversions suivantes sont déjà prédéfinies :


 * - format MySQL de datetime : "2012-07-31 19:01:08"
 * - format Exif 2.2 : "2012:07:31 19:01:08"
 * - format expansé ISO 8601 : "2012-07-31T19:01:08Z"
 * - format de base ISO 8601 : "20120731T190108Z"
 * - Chaîne de 14 digits : "20120731190108"
 * - A default Oracle timestamp format: "31-07-2012 19:01:08.000000"
 * - PostgreSQL default timestamptz format: "2012-07-31 19:01:08+00"
 * - RFC 2822 format using an obsolete timezone: "Tue, 31 Jul 2012 19:01:08 GMT"
 * - Seconds since the Unix epoch (1970-01-01T00:00:00Z): "1343761268"
 * - Seconds since the Unix epoch with microseconds: "1343761268.000000"