Hi,
I have 2 controls raddatepicker and radtimepicker. Works perfect. But now I want to get the date only from the datepicker and the time only from the timepicker in code. How do I do this?
RadDPArrivalDate.Calendar.SelectedDate.Date.ToString
RadTPArrivalTime.DateInput.Text
But for both I seem to get the whole date and time.
4/30/2012 12:00:00 AM 2012-04-30-22-15-00
I would like to get 4/30/2012 and 3:00PM which is what was entered into the control.
Thanks.
I have 2 controls raddatepicker and radtimepicker. Works perfect. But now I want to get the date only from the datepicker and the time only from the timepicker in code. How do I do this?
RadDPArrivalDate.Calendar.SelectedDate.Date.ToString
RadTPArrivalTime.DateInput.Text
But for both I seem to get the whole date and time.
4/30/2012 12:00:00 AM 2012-04-30-22-15-00
I would like to get 4/30/2012 and 3:00PM which is what was entered into the control.
Thanks.