Date and time utilities
来自cppreference.com
< c
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
目录 |
[编辑] 功能
| 在头文件
<time.h> 中定义 | |
| |
| 计算时间之间的差异 原文: computes the difference between times (函数) | |
| 返回当前时间的划时代的时间,因为系统 原文: returns the current time of the system as time since epoch (函数) | |
| 自启动程序时,返回原始的处理器时钟时间 原文: returns raw processor clock time since the program is started (函数) | |
| |
| 一个 time_t对象转换为文本表示原文: converts a time_t object to a textual representation(函数) | |
| 一个 tm对象转换为文本表示原文: converts a tm object to a textual representation(函数) | |
tm对象转换成自定义的文字表述原文: converts a tm object to custom textual representation(函数) | |
| 自定义的宽字符串的文字表述转换为tm对象 原文: converts a tm object to custom wide string textual representation (函数) | |
| 转换的时间,因为时代的日历时间为协调世界时表示 原文: converts time since epoch to calendar time expressed as Universal Coordinated Time (函数) | |
| 因为时代的日历时间转换时间为本地时间表示 原文: converts time since epoch to calendar time expressed as local time (函数) | |
| 将日历时间转换时间以来的时代 原文: converts calendar time to time since epoch (函数) | |
[编辑] 常量
| 处理器的时钟每秒滴答数 原文: number of processor clock ticks per second (常量宏) | |
[编辑] 类型
| 日历类型 (类) | |
| 的时间,因为时代的类型 (typedef) | |
| 处理的运行时间 (typedef) | |