Time Zone issue

Problems ? Get help here!
Post Reply
abernat
Posts: 7
Joined: Tue May 08, 2012 9:31 pm
Dive Computer: Suunto Cobra

Time Zone issue

Post by abernat »

For my own reasons, I'd like to have direct access to the Time Zone. I see that it is not one of the fields that can be exported (it's not in the clickable list) and I do not know how to read it directly using SQLite.

Can you let me know how?

Thanks,
Andy
abernat
Posts: 7
Joined: Tue May 08, 2012 9:31 pm
Dive Computer: Suunto Cobra

Re: Time Zone issue

Post by abernat »

I'd be happy with an SQLite query that would pull up the time zone!

Andy
User avatar
nick
Site Admin
Posts: 4363
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Time Zone issue

Post by nick »

You should not access the sqlite database directly - it is managed by an apple framework and subject to change. The information is not available via sqlite anyway.

Why do you need it? The output time should be in the correct timezone, and other than that it's only used to ensure changing your actual mac's timezone does not cause issues. It is intended as an internal implementation detail.
abernat
Posts: 7
Joined: Tue May 08, 2012 9:31 pm
Dive Computer: Suunto Cobra

Re: Time Zone issue

Post by abernat »

I have a legacy way of keeping track of dives and am using MacDive to do the downloading. I guess that pre-time zone the times in the database were the local time of the dive while now they are GMT and the Time Zone is used to calculate the correct local time. This throws my legacy approach off unless I correct.

Andy
Post Reply