Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

SetStartAndEndTimesUTC

  • Last UpdatedNov 17, 2021
  • 1 minute read

The SetStartAndEndTimesUTC method sets the time period based on a start time, end time, and/or duration.

Syntax

[Result=] aaHistClientTimeRangePicker.SetStartAndEndTimesUTC
(DateTime startTimeUTC, DateTime endTimeUTC, integer duration);

Parameters

startTimeUTC

The start time for a query in the UTC format. Only considered if the duration is set to Custom. For other durations, the start time is calculated automatically based on the end time and duration.

endTimeUTC

The end time for a query in the UTC format. Only considered if the duration is set to Custom or an option from 17 to 32 (OneMinute to ThreeMonths). Otherwise, the end time is set based on the duration.

duration

The time range duration. If the duration is set to Custom, the specified start and end times are used. For other duration options, the time indicated by the duration is used, and the start and/or end times are updated as necessary. For more information on valid values for the duration, see aaTimeRangeEnumeration Enumeration.

Remarks

The date and time formats are set using the Format property.

In This Topic
TitleResults for “How to create a CRG?”Also Available in