C Reference Structure tm

The time structure tm contains a calendar date and time which are broken down into its components.
Structure containing a calendar date and time broken down into its components.

The structure contains nine members of type integer:


	int tm_sec;	(seconds after the minute)
	int tm_min;	(minutes after the hour)
	int tm_hour;	(hours since midnight)
	int tm_mday;	(day of the month)
	int tm_mon;	(months since January)
	int tm_year;	(years since 1900)
	int tm_wday;	(days since Sunday)
	int tm_yday;	(days since January 1)
	int tm_isdst;	(Daylight Saving Time flag)

This entry was posted in C Reference time.h Functions. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed. Tweet This! Tweet This! or use to share this post with others.

Comments are closed.