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. You can leave a response, or trackback from your own site. Tweet This! Tweet This! or use to share this post with others.

Leave a Reply: