tm

Overview

Related Modules:

TIME

Description:

Describes date and time information.

Summary

Data Fields

Variable Name

Description

tm_sec

int 

tm_min

int 

tm_hour

int 

tm_mday

int 

tm_mon

int 

tm_year

int 

tm_wday

int 

tm_isdst

int 

tm_gmtoff

long 

tm_zone

const char * 

Details

Field Documentation

__tm_gmtoff

  1. long tm::__tm_gmtoff

Description:

Seconds east of UTC

__tm_zone

  1. constchar* tm::__tm_zone

Description:

Time zone

tm_hour

  1. int tm::tm_hour

Description:

Hour. The value ranges from 0 to 23.

tm_isdst

  1. int tm::tm_isdst

Description:

Daylight saving time (DST)

tm_mday

  1. int tm::tm_mday

Description:

Day. The value ranges from 1 to 31.

tm_min

  1. int tm::tm_min

Description:

Minute. The value ranges from 0 to 59.

tm_mon

  1. int tm::tm_mon

Description:

Month. The value ranges from 0 to 11.

tm_sec

  1. int tm::tm_sec

Description:

Second. The value ranges from 0 to 60.

tm_wday

  1. int tm::tm_wday

Description:

Week. The value ranges from 0 to 6. The value 0 indicates Sunday, the value 1 indicates Monday, and so on.

tm_year

  1. int tm::tm_year

Description:

Year. The value is the actual year minus 1900.