francois_ruel

AFTime vs Localtime

Discussion created by francois_ruel on Dec 9, 2009
Latest reply on Dec 10, 2009 by spilon

Hi!

 

It looks like we need to specified that a date is defined with local time:

myTime = New OSISOFT.AF.Time.AFTime(New Date(2009,12,9,16,55,0))  will put the date in UTCTime

myTime = New OSISOFT.AF.Time.AFTime(New Date(2009,12,9,16,55,0,DateTimeKind.Local)) will put the date in LocalTime

Anybody can confirm or suggest a better way?  LocalTime is read only.

 

Francois

Outcomes