"Andre M. Winter - Carto.net" <[EMAIL PROTECTED]> writes: > hi, > > i am wondering why PEL makes use of unix time stamps (only?) for > time related exif fields. using classical conversion methods limits > (depending on the OS) input to a specific year range (eg. 1970-2036) > whereas pure ascii (yyyy.mm-dd hh:mm:ss) would allow a broader > range. (btw the specific fields in the exif spec are ascii, 20 > chars). is there a way to do > > new PelEntryAscii(PelTag::DATE_TIME_ORIGINAL,$myDateTimeOriginal);
Nope, but you have a good point there! The reason for converting the timestamps to Unix timestamps is simply that these are what all the other PHP functions deal with. But you're right, PEL shouldn't be limited to those. Thanks for all your good ideas! I've created feature request #1428467 to keep track of this one. -- Martin Geisler GnuPG Key: 0x7E45DD38 PHP Exif Library | PHP Weather | PHP Shell http://pel.sf.net/ | http://phpweather.net/ | http://mgeisler.net/ Read/write Exif data | Show current weather | A shell in a browser
pgpbTF4YcpH3A.pgp
Description: PGP signature