Get current date on the phone?


is there sdk function current date on iphone? what's code it?

secondary question, there easy way have date auto-format correct country type based off of iphones current country settings? example... = 07/21/2008, uk = 21.07.2008

thanks,

ethan
 

nsdate class reference

psuedo code:
code:
nsdate *now = [[nsdate alloc] init];  [lblhello settext:[now description]]
;

-limb
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones