NSDate adding years

Discussion in 'Mac Programming' started by satyam90, Aug 17, 2009.

  1. satyam90 macrumors regular

    satyam90

    Joined:
    Jul 30, 2007
    Location:
    Bangalore, India
    #1
    Hi, I have a text field where I can enter my date of birth in "MM/dd/yyyy" format. I want to process this data by adding/subtracting years, months, days, hours etc. Please let me know how to do it.
    NSDate is not offering methods to add/subtract days,years, months etc. Is there any other class that I can use?
    --satyam.
     
  2. ChOas macrumors regular

    Joined:
    Nov 24, 2006
    Location:
    The Netherlands

Share This Page