Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_GetDate

CSV_Trend_GetDate

Gets the date of the trend at a percentage along the trend, using the date of the right-most sample displayed. The date associated with the right-most sample displayed is known as the end date.

The start date is the date of the left-most sample displayed. Percent 0 (zero) will correspond to the end date, and Percent 100 will correspond to the start date.

Syntax

GetDate(hTrendAN,iPercent)

#hTrendAN:

Animation point number of the trend.

#iPercent:

The percentage of the trend from the date of the right-most sample displayed.

Return Value

The date of the trend in the format month day year.