Takes a datetime, and returns a new datetime with the time component set to the max value (23:59:59)

public static DateTime SetMaxTime(DateTime datetime)

Return Value

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


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

See also:

Class DateFunctions