ChewCheeLim

AF SDK 2.5 AFAttribute.Data.InterpolatedValue() method passing in local time (Eastern Standard Time)

Discussion created by ChewCheeLim on Mar 28, 2013
Latest reply on Apr 1, 2013 by ChewCheeLim

Hi,

 

I am Using this AFAttribute.Data.InterpolatedValue() method to retrieve data. The 1st input parameter is DateTime object. According to this post, SDK is taking local time (http://vcampus.osisoft.com/discussion_hall/development_with_osisoft_sdks/f/8/p/1757/8987.aspx) --> Making assumption here that all SDK will be taking local time.(please correct me if I am wrong). However, When I step through my code, The local Time and Utc time were displayed incorrectly in my Watch window. I want the

 

"3/22/2013 2:23:01 PM"

 

To be local time. Not UTCTime.

 

What should I change? or look into?

 

 

 

4213.TimeZone-AF-SDK.png

 

 

 

 

 

 

Outcomes