學習的足跡,人生的點滴。
記下我的錯誤,我的發現和我的感想...
在field裏取得時間的方法
time datetime not null
↑在以上格式的field裏,要將內裏的時間取出有一個簡單的方法:
select month(time) from table;
select year(time) from table;
select day(time from table;
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言