How to get local time using HTTP Request

cesar.guevara
Posts: 5
Joined: Sat Jan 23, 2016 4:20 am

How to get local time using HTTP Request

Postby cesar.guevara » Sat Jan 23, 2016 4:24 am

Hello,

I'm trying to get the local time using AT commands and HTTP request, I already got the time from www.gooogle.com but this time is for GMT time zone,

I was wondering how can I get the local time zone, I already tried AT+CIPNTP but it doesn't work.

Regards,

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: How to get local time using HTTP Request

Postby ESP_Faye » Mon Jan 25, 2016 5:29 pm

Hi,

Sorry that AT firmware could not get time by default.

But you can program it by yourself. Could SNTP help ?

SNTP example is in documentation "2C-ESP8266__SDK__Programming Guide".

Who is online

Users browsing this forum: No registered users and 189 guests