By henkyprayoga , 24 September, 2020 Forums Gurux DLMS for Java Hi, Before I'm using Gurux.java version 3.0.6. Here's how it parse using that version: <WRAPPER len="36" > <TargetAddress Value="1" /> <SourceAddress Value="1" /> <PDU> <!--Decrypt data: <GetResponse> <GetResponseNormal> <!--Priority: HIGH ServiceClass: CONFIRMED invokeID: 1--> <InvokeIdAndPriority Value="C1" /> <Result> <Data> <!--9/25/20, 2:19 AM--> <OctetString Value="07E409190502132D00000000" /> </Data> </Result> </GetResponseNormal> </GetResponse> --> <GeneralGloCiphering> <SystemTitle Value="148D000000020003" /> <CipheredService Value="3000000001F7D9016C81911EF2B2A514E0BCB6EC457B708726BA7E3AF2BF33508EA27A" /> </GeneralGloCiphering> </PDU> </WRAPPER> However, after I upgrade it to 4.0.23, the DateTime shifted +7 hours. I believe this is due to our time zone is GMT+7 <WRAPPER len="36" > <TargetAddress Value="1" /> <SourceAddress Value="1" /> <PDU> <!-- Decrypt data: C4 01 C1 00 09 0C 07 E4 09 19 05 02 13 2D 00 00 00 00 <GetResponse> <GetResponseNormal> # Priority: HIGH ServiceClass: CONFIRMED invokeID: 1 <InvokeIdAndPriority Value="C1" /> <Result> <Data> # 9/25/20, 9:19 AM <OctetString Value="07E409190502132D00000000" /> </Data> </Result> </GetResponseNormal> </GetResponse> --> <GeneralGloCiphering> <SystemTitle Value="148D000000020003" /> <CipheredService Value="3000000001F7D9016C81911EF2B2A514E0BCB6EC457B708726BA7E3AF2BF33508EA27A" /> </GeneralGloCiphering> </PDU> </WRAPPER> How to use the latest version but with the same timezone behavior with 3.0.6? Thank you very much. Hi, Hi, I believe that your meter is using UTC time zone and not the DLMS standard time zone. http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSClock Set cl.setUseUtc2NormalTime(true); BR, Mikko
Hi, Hi, I believe that your meter is using UTC time zone and not the DLMS standard time zone. http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSClock Set cl.setUseUtc2NormalTime(true); BR, Mikko
Hi,
Hi,
I believe that your meter is using UTC time zone and not the DLMS standard time zone.
http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSClock
Set
cl.setUseUtc2NormalTime(true);
BR,
Mikko