Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Saving time zone setting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Saving time zone setting

 Post Reply Post Reply
Author
Message
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post Topic: Saving time zone setting
    Posted: 31 August 2006 at 9:49pm
What is the best way to save the time zone settings so that they stick each time the program is run.  I need to be able to save some value that represents the time zone.  Is it safe to use the name as a unique identifier or is there some other method that would work better?  I would also need to be able to quickly get a CalendarTimeZone object based on the unique identifier.  Is this possible without looping through all the time zones?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2006 at 6:53am
Hi,

We do use CalendarTimeZone.StandardName member as unique identifier (compare no case).

To find -- just iterate CalendarTimeZones. This is quite fast operation (not critical for performance).

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.