To Standardize the Time for all DateTime Value.
String NewRentalCommenceDate = RentalCommenceDate.ToShortDateString();
RentalCommenceDate = Convert.ToDateTime(NewRentalCommenceDate);
String NewRentalDueDate = RentalDueDate.ToShortDateString();
RentalDueDate = Convert.ToDateTime(NewRentalDueDate);
C# Set DateTime Variables Time to Default Time (12:00:00:00)
Posted by Unknown at 8/30/2013 11:54:00 am
Labels: ASP.net C#, C#
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment