5 * Copyright (C) 2012 Tyler Romeo <tylerromeo@gmail.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 * http://www.gnu.org/copyleft/gpl.html
23 * @author Tyler Romeo <tylerromeo@gmail.com>
27 * Unix time - the number of seconds since 1970-01-01 00:00:00 UTC
29 define( 'TS_UNIX', 0 );
32 * MediaWiki concatenated string timestamp (YYYYMMDDHHMMSS)
37 * MySQL DATETIME (YYYY-MM-DD HH:MM:SS)
42 * RFC 2822 format, for E-mail and HTTP headers
44 define( 'TS_RFC2822', 3 );
47 * ISO 8601 format with no timezone: 1986-02-09T20:00:00Z
49 define( 'TS_ISO_8601', 4 );
52 * An Exif timestamp (YYYY:MM:DD HH:MM:SS)
54 * @see http://exif.org/Exif2-2.PDF The Exif 2.2 spec, see page 28 for the
55 * DateTime tag and page 36 for the DateTimeOriginal and
56 * DateTimeDigitized tags.
58 define( 'TS_EXIF', 5 );
63 define( 'TS_ORACLE', 6 );
66 * Postgres format time.
68 define( 'TS_POSTGRES', 7 );
71 * ISO 8601 basic format with no timezone: 19860209T200000Z.
73 define( 'TS_ISO_8601_BASIC', 9 );