CCR Exif and date/times

Quick tip concerning my Exif code: according to the Exif standard, date/times should be stored as yyyy:mm:dd, except for the GPS date/time stamp, which is stored across two different tags, the time specifically stored across three different fraction elements (WTF indeed!).  To hide these implementation details, I expose them all as TDateTime values — the relevant properties on TCustomExifData being DateTime, DateTimeOriginal, DateTimeDigitized and GPSDateTimeUTC.  So, if you’re using my code, you shouldn’t care that the date/times are stored in a certain way — just use the Delphi RTL’s standard date/time to string conversion routines to display them how you want.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s