From the class definition for NSDate:
To parse strings containing dates and to generate string representations of a date, you should use an instance of
NSDateFormatter
using the methodsdateFromString
To go from date to string see NSDate's description and descriptionWithLocale: methods
0 comments:
Post a Comment