Go Down

Topic: Converting time string to UTC time (Read 162 times) previous topic - next topic



I am working on Arduino Mega 2560 + SIM900 GSM module. I found out that GSM module can receive updated time from the connected base station. The time is displayed in string in the following format:
"yyyy-mm-dd hh:mm:ss".

I want to convert this string to UTC time format. Which are the libraries available to achieve this?



Jun 17, 2016, 02:58 pm Last Edit: Jun 17, 2016, 03:02 pm by SurferTim
Are you saying that is local time, and you want UTC? Does your local time have Daylight Saving Time?

edit: Consensus has it this is the best time library for you.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131