2007年6月4日 - struct tm 裡的月份應該是0-11, 所以你讀到輸入值要存入tm 時, 應該要先減1 才對 struct tm { int tm_sec; /* seconds after the minute [0-60] */ int tm_min ...
tw.knowledge.yahoo.com