tm Struct Reference

#include <stdapis/time.h>

struct tm
Public Attributes
longtm_gmtoff
inttm_hour
inttm_isdst
inttm_mday
inttm_min
inttm_mon
inttm_sec
inttm_wday
inttm_yday
inttm_year
char *tm_zone

Detailed Description

Contains the following members,

Member Attribute Documentation

tm_gmtoff

longtm_gmtoff

offset from UTC in seconds

tm_hour

inttm_hour

hours since midnight

tm_isdst

inttm_isdst

Daylight Savings Time flag

tm_mday

inttm_mday

day of the month

tm_min

inttm_min

minutes after the hour

tm_mon

inttm_mon

months since January

tm_sec

inttm_sec

seconds after the minute

tm_wday

inttm_wday

days since Sunday

tm_yday

inttm_yday

days since January 1

tm_year

inttm_year

years since 1900

tm_zone

char *tm_zone

timezone abbreviation