View source code
Display the source code in core/stdc/time.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Struct core.stdc.time.tm

struct tm ;

Fields

NameTypeDescription
tm_gmtoff longoffset from CUT in seconds
tm_hour inthours since midnight [0-23]
tm_isdst intDaylight Savings Time flag
tm_mday intday of the month [1-31]
tm_min intminutes after the hour [0-59]
tm_mon intmonths since January [0-11]
tm_sec intseconds after the minute [0-60]
tm_wday intdays since Sunday [0-6]
tm_yday intdays since January 1 [0-365]
tm_year intyears since 1900
tm_zone char*timezone abbreviation

Authors

Sean Kelly, Alex Rønne Petersen

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)