ArcGIS Pro 2.9 API Reference Guide
TimeRange Constructor(DateTime,TimeDelta,TimeReference)

ArcGIS.Desktop.Mapping Namespace > TimeRange Class > TimeRange Constructor : TimeRange Constructor(DateTime,TimeDelta,TimeReference)
Initialize a new instance of a TimeRange using a date and a time interval.
Syntax
Public Function New( _
   ByVal dateTime As Date, _
   ByVal timeDelta As TimeDelta, _
   ByVal timeReference As TimeReference _
)

Parameters

dateTime
timeDelta
timeReference
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

TimeRange Class
TimeRange Members
Overload List