Rounds a date value to a given minute interval
public static DateTime RoundDateToMinuteInterval(DateTime time, int minuteInterval, RoundingDirection direction)
Parameters
time
Original time value
minuteInterval
Number of minutes to round up or down to
direction
Overloads:
See also:
Class TimeUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic