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

AVEVA™ Historian

SetDates

  • Last UpdatedNov 17, 2021
  • 1 minute read

The SetDates method sets the start and end time for the trend.

Syntax

[Result=] aaHistClientTrend.SetDates(DateTime startTime, DateTime endTime);

Parameters

startTime

The start time for the trend.

endTime

The end time for the trend.

Remarks

For more information on setting the date/time, see DateTime.

In relative time mode, you must still specify an absolute date/time value. For example, if the start time of your tags is 11/13/2006 8:00 AM and you want the trend to start at an offset of one hour to that start time, specify 11/13/2006 9:00 AM for the startTime parameter.

Return Value

Returns True if the dates were set. Returns False in case of an error.

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