摘要: C语言标准库的 time_t time(time_t *tp) 函数返回当前日历时间。怎么理解日历时间呢? 关于“时间”的理解,可以参考 "The GNU C Library" 的文档: http://www.gnu.org/software/libc/manual/html_node/Date-and-Time.html#Date-and-Time 关于“日历时间”的理解,可以参考: http://www.gnu.org/software/libc/manual/html_node/Time-Basics.html#Time-Basics http://www.gnu.o 阅读全文