How to convert unix time to current date?

Discussion in 'Mac Programming' started by MACaveli7, Sep 27, 2011.

  1. MACaveli7 macrumors newbie

    Joined:
    Oct 15, 2010
    #1
    I don't mind if the solution is uses Carbon or Cocoa. I need the date components date, month and year. Thanks
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Look at the various utilities in the time.h C header. Specicially localtime or gmtime I would have thought.
     
  3. MACaveli7 thread starter macrumors newbie

    Joined:
    Oct 15, 2010

Share This Page