BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
defines.php File Reference

Variables

const TS_UNIX 0
 
const TS_MW 1
 
const TS_DB 2
 
const TS_RFC2822 3
 
const TS_ISO_8601 4
 
const TS_EXIF 5
 
const TS_ORACLE 6
 
const TS_POSTGRES 7
 
const TS_ISO_8601_BASIC 9
 

Detailed Description

Timestamp

Copyright (C) 2012 Tyler Romeo tyler.nosp@m.rome.nosp@m.o@gma.nosp@m.il.c.nosp@m.om

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Author
Tyler Romeo tyler.nosp@m.rome.nosp@m.o@gma.nosp@m.il.c.nosp@m.om

Variable Documentation

const TS_DB 2

MySQL DATETIME (YYYY-MM-DD HH:MM:SS)

const TS_EXIF 5

An Exif timestamp (YYYY:MM:DD HH:MM:SS)

See Also
http://exif.org/Exif2-2.PDF The Exif 2.2 spec, see page 28 for the DateTime tag and page 36 for the DateTimeOriginal and DateTimeDigitized tags.
const TS_ISO_8601 4

ISO 8601 format with no timezone: 1986-02-09T20:00:00Z

const TS_ISO_8601_BASIC 9

ISO 8601 basic format with no timezone: 19860209T200000Z.

const TS_MW 1

MediaWiki concatenated string timestamp (YYYYMMDDHHMMSS)

const TS_ORACLE 6

Oracle format time.

const TS_POSTGRES 7

Postgres format time.

const TS_RFC2822 3

RFC 2822 format, for E-mail and HTTP headers

const TS_UNIX 0

Unix time - the number of seconds since 1970-01-01 00:00:00 UTC