View source code Display the source code in core/stdc/time.d from which this page was generated on github. 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. Page wiki View or edit the community-maintained wiki page associated with this page.

Struct core.stdc.time.tm

Fields

Name Type Description
tm_gmtoff long offset from CUT in seconds
tm_hour int hours since midnight [0-23]
tm_isdst int Daylight Savings Time flag
tm_mday int day of the month [1-31]
tm_min int minutes after the hour [0-59]
tm_mon int months since January [0-11]
tm_sec int seconds after the minute [0-60]
tm_wday int days since Sunday [0-6]
tm_yday int days since January 1 [0-365]
tm_year int years 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)

Comments