Function (Path Standard C Header / time.h)

gmtime

struct tm* gmtime(time_t *timer);

Populate the tm structure with the value of timer , expressed in Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT)


Parameters

  time_t *timer

函数 (属于 标准C头文件 / time.h)

gmtime

struct tm* gmtime(time_t *timer);

使用 timer 的值来填充 tm 结构,并用协调世界时(UTC)也被称为格林尼治标准时间(GMT)表示


参数

  time_t *timer