In this tutorial , i will tell you about NSDate and NSDateFormatters .
NSDate is inbuilt Objective c function which is used to find current date and time .
NSDateFormatter is used to format the date and time .eg :- MM/DD/YYYY hh:mm:ss.
Code is explained in comments.
Other date formats are as follows :
Date Formats Examples
Thank You :)