Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Date-time Format

Date-time format

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By newman , 21 October, 2020
Forums
General discussion

Hi all,

can anybody describe the date-time format? I have read the blue book 4.1.6.1 but it's still not clear for me.

What is the correct date-time?

I'm living in Czech Republic GMT+1. Now we have summer time so we are GMT+2.
Should be the deviation -60, -120, 60, 120? Is the extra 1 hour of daylight saving time included in the deviation?

Ex: my local time is 2020, month 10, day 21, time 18:14:16 (current GMT is 16:14:16) - what is DLMS date time?
07E4 0A 15 03 12 0D 10 FF FF88 80 ? or 07E4 0A 15 03 12 0D 10 FF FFC4 80 ?
or
07E4 0A 15 03 12 0D 10 FF 0078 80 ? or 07E4 0A 15 03 12 0D 10 FF 003C 80 ?

Thank you
Lubos

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

You are not the only one. DLMS and IDIS define timezone from normal time to UTC, but India and Italy meters are using UTC time. You can read more from here:

https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSClock

If you are making the meter, deviation depends on the target market.

BR,
Mikko

newman

5 years 7 months ago

Hi Mikko,

Hi Mikko,

thank you very much for your answer, I'm not making the meter, I need to understand the date-time format to decode it my way.

I hope I have got it and it's clear now.

So am I right for CZ/Prague (normal UTC+1)?

date and time is always current local
deviation is always -60 minutes regardless summer/winter(normal) time

Correct?

Thank you,
Lubos

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

DST will increase deviation if the meter is using it. Everything else is correct.

BR,
Mikko

newman

5 years 7 months ago

Hi Mikko,

Hi Mikko,

thank you very much.
Just idea: If DTS increase deviation, how to deal with it in New Zealand, they are normally GMT+12. Now they have DST, so they are GMT+13. They are supposed to use deviation of -780 minutes, but it is out of range -720 ... +720 ?

Best regards,
Lubos

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

Good point. I believe that this was not thought when the standard was planned. DST is added to the deviation because there are countries where DST offset is something else than one hour and this information is not saved to the date-time.

BR,
Mikko

newman

5 years 7 months ago

Hi Mikko,

Hi Mikko,

ok, thank you very much for your help.

Kind regadrs,
Lubos

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

There are a lot of meters

There are a lot of meters that are not using DST and it's quite common that DST is disabled even it's available. Billing systems don't like it when there are two values for the same hour. This is happening when moving away from DST.

BR,
Mikko

newman

5 years 7 months ago

Yes, I'm happy that I don't

Yes, I'm happy that I don't need to deal with a billing system :)
I'm dealing with a meter that uses DST, but it sets the deviation of +120 minutes (here in CZ/Prague). So it's implemented wrong way. I'll either ask them to fix it or I'll make an exception in the code for this meter.

Kind Regards,

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

If you are using our stack you can handle this by settings GXDLMSClient.UtcTimeZone to true.

BR,
Mikko

John Richard

5 years 4 months ago

Hi All,

Hi All,
I am new to DLMS metering. Please any one tell me how to work with logical name and OBIS code. I want Current date and time logical name and code. Please help me. Thank you in advance.

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

The best way to get started is if you download GXDLMSDirector and play with that. There is an association view that describes all the objects that your meter can offer.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin