9 years, 10 months ago.

Timezone

Is there a tzset() equivalent in the mbed library? The datetime retrieved from the NTP server is UTC and I need to set it to a specific time zone.

Question relating to:

Simple example demonstrating how to use the NTP Client to set the time ethernet, networking, NTP

As a temporary solution I just added the TZ difference from UTC to the time received from the NTP server.

posted by Daniel Blendea 18 Feb 2015
Be the first to answer this question.