Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

shweta13

macrumors member
Original poster
Aug 7, 2008
38
0
Hi,

Currently I get NSCalenderDate in the format "2009.09.07 13:30" i.e. "yyyy.mm.dd hh:mm"

I want to convert the date format so that it shows the time in a 12hr format
i.e. "2009.09.07 1:30 PM",

How can I do this?
Also, can I extract the time component from the NSCalenderDate class ? or atlest convert it back to NSDate class?


Thanks for your help in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.