UIDatePicker example in Swift

In these two videos we will learn how to create UIDatePicker, read date selected by user and display selected date in different user friendly formats. We will also learn how to convert NSDate to milliseconds and back. Create UIDatePicker Convert NSDate into milliseconds and back Source code: import UIKit class ViewController: UIViewController { @IBOutlet weak … Continue reading UIDatePicker example in Swift