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

In This Topic
    TimeRange Constructor(DateTime,DateTime)
    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 _
    )
    public TimeRange( 
       DateTime start,
       DateTime end
    )

    Parameters

    start
    end
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also