Re: NSDate - extract values
Re: NSDate - extract values
- Subject: Re: NSDate - extract values
- From: Dave Rosborough <email@hidden>
- Date: Sat, 16 Apr 2005 19:08:12 -0700
Try NSCalendarDate. It has methods such as -(int)minuteOfHour and
-(int)yearOfCommonEra that will provide the data you want.
TTYL
DaveR
On 16-Apr-05, at 6:42 PM, Jerry Brace wrote:
Newbie question here. I'm trying to find the best way to get the
following from the current date ([NSDate Date])
Month - int value
year - int value
day - int value
hour - int value
minute - int value
and AM/PM as string.
Thanks!
Jerry Brace
Web and Multimedia Developer
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden