'Declaration Public Class DateInterval Inherits DateTimeInterval
public class DateInterval : DateTimeInterval
The amount of time spanned by a DateInterval is defined by two properties, Interval and IntervalUnits. The Interval property is an integer which defines the length of the cycle at which the interval repeats itself, and the IntervalUnits property determines the unit of measure, i.e., minutes or hours.. For example, a time interval can be created which will result in columns that represent a two-hour span of time by setting the Interval property to 2, and the IntervalUnits property to 'Hours'.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2