string dateOfCheckOut = lblDateData.InnerText; DateTime dateofCheckOut = Convert.ToDateTime(dateOfCheckOut); string date = dateofCheckOut.ToString("MM/dd/yyyy"); endTimeOfAttendance = configSetting.EndTimeOfAttendance.ToString("HH:mm:ss"); DateTime dateTimeOfCheckout = DateTime.Parse(dateOfCheckOut + " " + endTimeOfAttendance);
lblDateData
endTimeOfAttendance
DateTime dateTimeOfCheckout = new DateTime(dateofCheckOut.Year, dateofCheckOut.Month, dateofCheckOut.Day, configSetting.EndTimeOfAttendance.Hour, configSetting.EndTimeOfAttendance.Minute, configSetting.EndTimeOfAttendance.Second);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)