1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tm.md 6.82 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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

long tm::__tm_gmtoff

Description:

Seconds east of UTC

__tm_zone

const char* tm::__tm_zone

Description:

Time zone

tm_hour

int tm::tm_hour

Description:

Hour. The value ranges from 0 to 23.

tm_isdst

int tm::tm_isdst

Description:

Daylight saving time (DST)

tm_mday

int tm::tm_mday

Description:

Day. The value ranges from 1 to 31.

tm_min

int tm::tm_min

Description:

Minute. The value ranges from 0 to 59.

tm_mon

int tm::tm_mon

Description:

Month. The value ranges from 0 to 11.

tm_sec

int tm::tm_sec

Description:

Second. The value ranges from 0 to 60.

tm_wday

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

int tm::tm_year

Description:

Year. The value is the actual year minus 1900.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

搜索帮助