AnsweredAssumed Answered

AFTimeRage

Question asked by SyedHussain on Apr 6, 2018
Latest reply on Apr 9, 2018 by rdavin

Hi am using

 

myTimeRange = New AFTimeRange(Omega.LocalTime.AddHours(0).AddMinutes(0).AddSeconds(0), Alpha.LocalTime.AddHours(23).AddMinutes(59).AddSeconds(59))

in myvalues = myPoint.RecordedValues(myTimeRange, boundaryType:=AFBoundaryType.Interpolated, filterExpression:="", includeFilteredValues:=True, maxCount:=0)

still results in

timerange=4/1/2018 3:00:00 AM - 4/2/2018 2:59:59 AM

 

I need to fetch 4/1/2018 00:00:00 AM - 4/1/2018 23:59:59 PM

Why does it add 3 hrs?

Outcomes