Hi All,
Im using below source for getting the time. But Im unable to get time only. the below code's result comes date and time format But I need only time format.
double hour = Convert.ToDouble(dropDownDepartureHours.Text);
double minutes = Convert.ToDouble(dropDownDepartureMintues.Text);
DateTime dt = DateTime.MinValue;
dt = dt.AddHours(hour);
dt = dt.AddMinutes(minutes);
newCarOwnerInformation.Departure_Time = dt;
Thanks and Regards,
Jagadeesh V
Go to the complete details ...