[ ardunio ] tm time reference

struct tm {
int tm_sec; /* วินาที, range 0 to 59 */
int tm_min; /* นาที, range 0 to 59 */
int tm_hour; /* ชั่วโมง, range 0 to 23 */
int tm_mday; /* วันที่, range 1 to 31 */
int tm_mon; /* เดือน, range 0 to 11 */
int tm_year; /* ปีคริสศักราช ตั้งแต่ 1900 */
int tm_wday; /* วัน, range 0 to 6 */
int tm_yday; /* วันใน 1 ปี, range 0 to 365 */
int tm_isdst; /* daylight saving time */
};

ref : http://montienfocus.blogspot.com/2016/06/internet-esp8266.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s