GetStartAndEndTimesUTC
- Last UpdatedNov 17, 2021
- 1 minute read
The GetStartAndEndTimesUTC method retrieves the start and end times for the query in the UTC format.
Syntax
[aaTimeRangeEnumeration=] aaHistClientTimeRangePicker.GetStartAndEndTimesUTC
(DateTime startTimeUTC, DateTime endTimeUTC);
Parameters
startTimeUTC
The start time for a query in the UTC format.
endTimeUTC
The end time for a query in the UTC format.
Remarks
The date and time formats are set using the Format property.
The container may not allow method parameters to return values. This method is not accessible in the InTouch HMI software. Use the StartDateUTC, EndDateUTC, and TimeDuration properties instead.
Return Value
The time range enumeration (such as Custom, Last5Minutes, and so on) is returned. For more information, see aaTimeRangeEnumeration Enumeration.