首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::time_t

Defined in header <ctime>

typedef /* unspecified */ time_t;

能够表示时间的算术类型。

虽然没有定义,但这个值几乎总是包含自1970年1月1日协调世界时00:00以来不计算闰秒的秒数28%29的整数,对应于POSIX时间...

另见

time

returns the current time of the system as time since epoch (function)

localtime

converts time since epoch to calendar time expressed as local time (function)

gmtime

converts time since epoch to calendar time expressed as Universal Coordinated Time (function)

c时间文件[医]T型

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券