Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
tm_ex Struct Reference
The tm_ex structure is patterned after the traditional tm struct, however it adds an element - the time zone offset in minutes. More...
#include <TimeInterface.h>
Data Fields | |
| int | tm_sec |
| ! seconds, 0 to 59. | |
| int | tm_min |
| ! minutes, 0 to 59. | |
| int | tm_hour |
| ! hours, 0 to 23. | |
| int | tm_mday |
| ! monthday 1 to 31. | |
| int | tm_mon |
| ! month 0 to 11. | |
| int | tm_year |
| ! years since 1900. | |
| int | tm_wday |
| ! days since sunday 0 to 6. | |
| int | tm_yday |
| ! days since 1 Jan 0 to 365. | |
| int | tm_isdst |
| ! is daylight savings time. | |
| int | tm_tzo_min |
| ! localtime zone offset in minutes (_ex element) | |
Detailed Description
The tm_ex structure is patterned after the traditional tm struct, however it adds an element - the time zone offset in minutes.
From this, it is then readily able to create a "local time" instead of simply a UTC time.
Definition at line 25 of file TimeInterface.h.
Field Documentation
| int tm_hour |
! hours, 0 to 23.
Definition at line 29 of file TimeInterface.h.
| int tm_isdst |
! is daylight savings time.
Definition at line 35 of file TimeInterface.h.
| int tm_mday |
! monthday 1 to 31.
Definition at line 30 of file TimeInterface.h.
| int tm_min |
! minutes, 0 to 59.
Definition at line 28 of file TimeInterface.h.
| int tm_mon |
! month 0 to 11.
Definition at line 31 of file TimeInterface.h.
| int tm_sec |
! seconds, 0 to 59.
Definition at line 27 of file TimeInterface.h.
| int tm_tzo_min |
! localtime zone offset in minutes (_ex element)
Definition at line 36 of file TimeInterface.h.
| int tm_wday |
! days since sunday 0 to 6.
Definition at line 33 of file TimeInterface.h.
| int tm_yday |
! days since 1 Jan 0 to 365.
Definition at line 34 of file TimeInterface.h.
| int tm_year |
! years since 1900.
Definition at line 32 of file TimeInterface.h.
Generated on Wed Jul 20 2022 15:36:36 by
1.7.2