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

TimeRange Constructor(DateTime,DateTime)
Initialize a new instance of a TimeRange using a start and end time.
Syntax
public TimeRange( 
   DateTime start,
   DateTime end
)

Parameters

start
end
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also