Some hopefully basic questions. We normally call [NSTimeZone localTimeZone] in our app to get the current timezone. In some cases we may set the default timezone via [NSTimeZone setDefaultTimeZone:...]. Now after we've done that we want to reset it so that it again simply gets the system's timezone. My assumption is to
                        [NSTimeZone setDefaultTimeZone:[NSTimeZone 
systemTimeZone]];

Does that sound right? Or should I pass nil and it'll know what to do? I've read the docs a few times and I can't seem to determine the correct answer to this one. I have also googled it, but NSTimeZone doesn't seem to be talked about much.



Alex Kac - President and Founder
Web Information Solutions, Inc.

"Patience is the companion of wisdom."
--Anonymous




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to