If you are developing WPF application then just use DatePicker control and if you want to get time also then install Extended WPF Toolkit in that use the DateTimePicker Control...
Developing for Windows Phone or WinRT (Windows Store) apps use DatePicker Control.