Need Help for NTP Configurations for ESP32
Posted: Mon May 29, 2017 8:08 am
Hi,
I have used NTP configurations to set time and it works fine without any issue. But, I need total List of Timezone configurations used for all over world to set time for any specific area.
Right Now, I have used following configurations as per my requirement.
// Set timezone to UTC Time
setenv("TZ", "UTC", 1);
// Set timezone to Indian Standard Time
setenv("TZ", "UTC+05:30", 1);
// Set timezone to Eastern Standard Time
setenv("TZ", "EST5EDT,M3.2.0/2,M11.1.0", 1);
// Set timezone to China Standard Time
setenv("TZ", "CST-8CDT-9,M4.2.0/2,M9.2.0/3", 1);
So, Please provide me List of standard timezone to be used world wide to set corresponding time according to setenv API. Also, Let me know if anyone has included all those timezones into single array because our application can be used in any place across world and we want to configured timezone according to that from application.
Let me know if anyone has any confusion for above use-case.
I have used NTP configurations to set time and it works fine without any issue. But, I need total List of Timezone configurations used for all over world to set time for any specific area.
Right Now, I have used following configurations as per my requirement.
// Set timezone to UTC Time
setenv("TZ", "UTC", 1);
// Set timezone to Indian Standard Time
setenv("TZ", "UTC+05:30", 1);
// Set timezone to Eastern Standard Time
setenv("TZ", "EST5EDT,M3.2.0/2,M11.1.0", 1);
// Set timezone to China Standard Time
setenv("TZ", "CST-8CDT-9,M4.2.0/2,M9.2.0/3", 1);
So, Please provide me List of standard timezone to be used world wide to set corresponding time according to setenv API. Also, Let me know if anyone has included all those timezones into single array because our application can be used in any place across world and we want to configured timezone according to that from application.
Let me know if anyone has any confusion for above use-case.