I'm using javascript so I create a Date object then use methods like
getUTCHours, getUTCMinutes, getUTCSeconds. Where the UTC methods just
mean "get the raw time without doing any timezone correction".  EXIF
upon creation has no timezone correction, it's timezone-less, so when
you extract the time you also don't want to do any correction.

I don't know the equivalent in Python.  Looking at the docs Python has
way more timezone related functionality so it must be possible.

-Philip



On Thu, Dec 1, 2011 at 12:56 AM, tjgupta <[email protected]> wrote:
> Oh, that's perfect! Which specific API are you using? When I set up
> the API with the Python Gdata library, I get an object of type:
> <gdata.photos.PhotoEntry object at 0x10207d810>
>
> When I do:
> <myinstance>.exif.time.datetime() it returns the modified time to me.
>
> Thanks Philip!
>
> On Oct 4, 4:22 pm, Philip Winston <[email protected]> wrote:
>> > Here's an example from the front end, a photo I took at 3:09:38PM on Sep, 
>> > 3, 2011:
>> >https://picasaweb.google.com/lh/photo/nG3bx4Ip3Prmn-DtM1SUWQ?full-exi...
>>
>> As an example of using the API to pull out the correct time, this page
>> has your photo listed under 
>> "15:00"http://pixtimeline.com/view/#108873967905176944932/565840164421301552...
>>
>> And then you click on the photo it says "15:09:38" under the picture.
>>
>> -Philip
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Picasa Web Albums API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-picasa-data-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to