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

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

Parameters

start
end
timeReference
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

TimeRange Class
TimeRange Members
Overload List