# 日期和时间

| 食谱                                                              | 箱子                      | 类别                                            |
| ----------------------------------------------------------------- | ------------------------- | ----------------------------------------------- |
| [测量已用时间][ex-measure-elapsed-time]                           | [![std-badge]][std]       | [![cat-time-badge]][cat-time]                   |
| [执行，检查日期和时间的计算][ex-datetime-arithmetic]              | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |
| [将本地时间，转换为其他时区][ex-convert-datetime-timezone]        | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |
| [检查日期和时间][ex-examine-date-and-time]                        | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |
| [将日期转换为 Unix 时间戳，或相反][ex-convert-datetime-timestamp] | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |
| [显示格式化的日期和时间][ex-format-datetime]                      | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |
| [将字符串解析为 DateTime 结构][ex-parse-datetime]                 | [![chrono-badge]][chrono] | [![cat-date-and-time-badge]][cat-date-and-time] |

[ex-measure-elapsed-time]: datetime/duration.zh.html#measure-the-elapsed-time-between-two-code-sections
[ex-datetime-arithmetic]: datetime/duration.zh.html#perform-checked-date-and-time-calculations
[ex-convert-datetime-timezone]: datetime/duration.zh.html#convert-a-local-time-to-another-timezone
[ex-examine-date-and-time]: datetime/parse.zh.html#examine-the-date-and-time
[ex-convert-datetime-timestamp]: datetime/parse.zh.html#convert-date-to-unix-timestamp-and-vice-versa
[ex-format-datetime]: datetime/parse.zh.html#display-formatted-date-and-time
[ex-parse-datetime]: datetime/parse.zh.html#parse-string-into-datetime-struct

{{#include links.zh.md}}
