Main Menu

Apparent solar time

Started by Alan Clifford, April 27, 2013, 12:55:58 PM

Previous topic - Next topic

Alan Clifford

Given that, say, gmt, is centred on Greenwich, most of the UK is half an hour out of sync with the sun.  Add another hour for daylight saving time.

I've been thinking that I'd like to label the photos on my website with apparent solar time as that is more relevant to lighting with photographs.

I'm already using xmp:datetimeoriginal to store time with a timezone.  I'd like to store apparent solar time in the metadata;  any suggestions as to where?

Also, is there an existing perl function/library that will translate utc into apparent solar time or will I have to do it myself based on year relative to leap years.  I'm not worried about accuracy to the second.


Phil Harvey

Hi Alan,

I'm not aware of anything that will do this, but check search.cpan.org and you may get lucky.

I think you'd be looking at a custom XMP tag for information like this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).