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-2020 • Updated: 07/15/20
Comment or report problem with topic