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

Apps, Widgets, and Controls

SetDuration

  • Last UpdatedDec 08, 2015
  • 1 minute read

The SetDuration method sets the duration of the trend. Calling this method first sets the end time to the current time and then the start time to current time minus the specified duration. Default duration is 5 minutes. Maximum duration is 24 hours.

Example

dim b as boolean;

b = Trend1.SetDuration("00:05:00");

Syntax

[Result=] Trend1.SetDuration(string DateTimeDuration);

Parameters

DateTimeDuration

The time of the duration in HH:MM:SS format.

Return Value

Returns TRUE if the duration is set successfully; otherwise, returns FALSE.

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