StatCounter

View My Stats

Tuesday, February 5, 2008

Create a DataTime With a user Specified Time

Create a DataTime With a user Specified Time


DateTime SlotEndTime =DataTime.Now;

SlotEndTime = new DateTime(SlotEndTime.Year, SlotEndTime.Month, SlotEndTime.Day, 9, 30, 0);

SlotEndTime -Have the Date of today with the Time-9.30 AM

No comments: