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-2024 • Updated: 06/29/24
Comment or report problem with topic