How to create a UIDatePicker in iOS @techytube
How to create a UIDatePicker in iOS  @techytube
Uploaded November 2012 | Updated November 2026, 3 hours ago
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
techytube.com/author/pavel

There are some situation when we have to give the users the possibility to enter a date.
He may input some invalid characters over there. Therefore, iOS SDK provides us a special class that enables us to choose a date from many options, and it is named UIDatePicker.
Any object of this class has a special method "date", which by default returns the current date and time in the following format:
YYYY-MM-DD hh:mm:ss +0000
We can format this output as we want, but this is the default one. We may use the UIDatePicker class to give different options to choose either date or time, as you will see in the next lessons, we can customise its appearance.

For more information, you can check the Apple's online Documentation at:

developer.apple.com/library/ios/#documentation/uikit/reference/UIDatePicker_Class/Reference/UIDatePicker.html
How to create a UIDatePicker in iOSdotNET 2.0 C# - Creating A Windows ServiceUpgrading a Windows Server 2008 R2 Domain Controller to Windows Server 2012Windows 8 Development - File Picker Code Review XAMLLogging Messages to the Command Line and working with integer variablesWorking with UIImageView class in iOSWindows 8 Development - File Picker Introduction XAMLiSCSI Virtual Disks with Windows Server 2012 R2Working with UITableViewDataSource protocol in iOS Part2SonicWall - Administration, Time and Schedule configurationWorking with UITableViewDataSource protocol in iOS Part1Switch and Iterative statements in Objective C
techytube |

How to create a UIDatePicker in iOS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER