mysql日期、時間格式
select current_date;
create table test(‘日期’ date);
insert into test values('2011-09-03');
create table test2(日期 date,時間 datetime);
create table test(日期 date,時間 timestamp);
insert into test2 values('2011-09-03','2011-09-03 02:00:00');
insert into test values('2011-09-03','2011-09-03 02:00:00');
Gavin
posted on 2011-09-03 12:35 GavinMiao 閱讀(399) 評論(0) 編輯 收藏 所屬分類: mysql