Hi All, Welcome back to Knowledge Base.
Usually in all the applications DateTime is driven through NSDate. But when you are dealing with default datetime objects then casting is quite extra job to be done.
Following is the process of converting NSDate to DateTime and DateTime to NSDate.
NSDate to DateTime
DateTime to NSDate
Hope this solves the conversion process that we do when we deal with dates in iOS Application.