Re: getting the system's time format
Re: getting the system's time format
- Subject: Re: getting the system's time format
- From: Donald Hall <email@hidden>
- Date: Tue, 18 Nov 2003 21:54:26 -0700
Thanks! This is what I needed.
Don
At 12:27 AM -0800 2003/11/18, Louis C. Sacha wrote:
Hello...
The documentation you want to look at is the Foundation reference,
for the NSUserDefaults class. There are a number of default
preference keys that provide basic information about how the user's
system is set up.
@"NSTimeFormatString" for example, which should allow you to
distinguish between 12 and 24 hour clocks...
Louis
How do I determine whether the computer running my program uses a
12 or 24 hour clock format? I want to check this and then remove or
add a pair of radio buttons designating AM and PM from my user
interface depending on the system time format.
Thanks for pointing me in the right direction. I've tried scanning
the documentation, but don't know where to start to look. (My copy
of Help Viewer application crashes on search which makes it hard to
do lookups!)
Don
--
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.