Start of Day DateTime extension method to get the datetime
By [)ia6l0 iii
Use the DateTime object's 'Date' property to return the beginning of the day
public static DateTime GetStartOfDay(this DateTime date)
{
return date.Date;
}
Start of Day DateTime extension method to get the datetime (1062 Views)