Menu

#231 DTM.getValueAsDate() corrupts GMT offset

2.2
open
nobody
DTM (1) OBX (1)
2
2015-07-13
2015-07-12
No

When getting the DTM time stamp from OBX-14 and using the method getValueAsDate() method on the DTM object, the time stamp's offset is corrupted. The DTM time stamp itself shows the correct value.

If OBX-14 contains 20120628145624.090-0500 one gets 20120628145624.090-0400

Discussion

  • Christian Ohr

    Christian Ohr - 2015-07-13

    Probably a DST issue, see #229.
    What is your default time zone?

     
  • Brian Reinhold

    Brian Reinhold - 2015-07-13

    Okay. I get the same result when I use the DTM.getValueAsCalendar() method.

     

Log in to post a comment.