Re: <转录/Local Save> 三篇关于 date_stamp 实作

楼主: mosquito520 ( )   2010-01-31 16:32:20
: 但是 ...
: 那 我们有没有办法输入 2010 01 12 然后得到 stamp 值呢 ? 很遗憾的 在 ANSI-C
: 中 并没有 这样的东西
Draft ANSI C Standard (ANSI X3J11/88-090) (May 13, 1988)
http://flash-gordon.me.uk/ansi.c.txt
4.12.1 Components of time
struct tm
which holds the components of a calendar time, called the broken-down
time. The structure shall contain at least the following members, in
any order. The semantics of the members and their normal ranges are
expressed in the comments./123/
int tm_sec; /* seconds after the minute

Links booklink

Contact Us: admin [ a t ] ucptt.com