ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TimeRange Class / TimeRange Constructor / TimeRange Constructor(DateTime,DateTime,TimeReference)

In This Topic
    TimeRange Constructor(DateTime,DateTime,TimeReference)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also