Takes a datetime, and returns a new datetime with the time component set to the min value (0:00:00)

public static DateTime SetMinTime(DateTime datetime)

Return Value

A new Datetime value with the same year, month, and day as the passed in datetime, but with the minimum time


The datetime to get the year, month, and day from

See also:

Class DateFunctions