Go Down

Topic: New library: ezTime: Time, Timezone, NTP, timezoneapi, formatted time strings... (Read 556 times) previous topic - next topic


Hi all,

I just finished my new library. ezTime -- pronounced "Easy Time" -- is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.


(It can be installed using the Arduino Library Manager, just search for "ezTime")

I have two questions:

- Could you please look at it -- and then hopefully try it -- and tell me what you think?

- Could you please help me spread the word and tell others if you like it?

Kind Regards.

Rop Gonggrijp



Thank you for this library, I also had headaches with timezone and DST.
I am currently playing with it.

I have found that there is a problem with the New-Zealand timezone of your example as the library is always setting it as UTC. It is working with some other time zones.

In my application, I try tu use geoip by default, but it might not always work. I would like then to add a way for the user to set the timezone manually in the web gui. Do you have an idea of best practice on how to do it ? I have seen that there are a lot of time zones and it is not a good idea to include them all in a drop down list.

Also, I am using ntp to update a ds3331 rtc once a day as I want to be sure to have a good time even without a network connection. Obviously, in this case, I am using the RTC as a default time source.
Do you plan to add a notion of 2 time source (main and secondary) ? Do you accept contributions to the library ?

I am setting the time zone in the setup(). But I need to know if it has failed later, when I am processing the web gui. I didn't find a way to get the status later. So for now, I set a flag. Is there a method somewhere in the library for this ?

Best regards


Go Up