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