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

ethana

macrumors 6502a
Original poster
Is there an SDK function to easily get the current date on the iPhone? What's the code to do it?

As a secondary question, is there an easy way to have the date auto-format to the correct country type based off of the iPhones current country settings? Example... US = 07/21/2008, UK = 21.07.2008

Thanks,

Ethan
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.