I need to convert seconds to a start and endtime for use with timerange. tagTimes is a long integer array with start and endtimes. The code is as follows:
new AFTime(tagTimes[i, 1]);
AFValues values = point.RecordedValues(timeRange, OSIsoft.AF.Data.AFBoundaryType.Inside, filterExpression, false);
I am getting an error when this code is executed. How can I convert the seconds to a datestring?
Any help/advice is appreciated! Apologies if I violated any rules for posting code...!