Class for holding a date and time.
This class can hold a timestamp, and it will be used as in this example where the time is advanced by one week:
The example used a standard UNIX timestamp, which is the default for this class.
But the Exif format defines dates outside the range of a UNIX timestamp (about 1970 to 2038) and so you can also get access to the timestamp in two other formats: a simple string or a Julian Day Count. Please see the Calendar extension in the PHP Manual for more information about the Julian Day Count.
Located in /src/PelEntryAscii.php (line 172)
PelEntry | --PelEntryAscii | --PelEntryTime
Inherited from PelEntry
PelEntry::$bytes
PelEntry::$components
PelEntry::$format
PelEntry::$ifd_type
PelEntry::$tag
Make a new entry for holding a timestamp.
Converts a date in year/month/day format to a Julian Day count.
Converts a Julian Day count to a year/month/day triple.
Converts a Julian Day count to a UNIX timestamp.
Converts a UNIX timestamp to a Julian Day count.
Return the timestamp of the entry.
The timestamp held by this entry is returned in one of three formats: as a standard UNIX timestamp (default), as a fractional Julian Day Count, or as a string.
Update the timestamp held by this entry.
Inherited From PelEntryAscii
PelEntryAscii::__construct()
PelEntryAscii::getText()
PelEntryAscii::getValue()
PelEntryAscii::setValue()
Inherited From PelEntry
PelEntry::getBytes()
PelEntry::getComponents()
PelEntry::getFormat()
PelEntry::getIfdType()
PelEntry::getTag()
PelEntry::getText()
PelEntry::getValue()
PelEntry::setIfdType()
PelEntry::setValue()
PelEntry::__toString()
Documentation generated on Thu, 05 May 2011 07:19:02 +0200 by phpDocumentor 1.4.3