I am using TimePicker control. I am using same screen for insert and edit record. For new add record, i can get the correct time. But for edit record, i assign the time(hh:mm) vale from db to TimePicker control and then change the value. But I still get the current system time. If i am not assign the value, i got the correct time.
? dt = Convert.ToDateTime(rtpStartTime.SelectedDate);
Please let me know how do i set the option.