5月 05

select adddate(now(), interval- 3 month);

これで、3ヶ月前の日付が得られる。引数は前から
「基準日、差分、単位」
となっている。

year,day,hour等も利用可能。

Tagged with:
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
preload preload preload