房仲簽約指定合作,商辦居家地板拋光打蠟,專業清潔服務空調豐富壁癌工程經驗,責任施工、品質保固,一通電話免費為您勘驗估價

首頁  •  tw 論壇 • 程式設計討論     • 

[php] PHP日期

房東:小黃
發表時間:2010-10-22
[檢舉]


select* \'form date where
uid = colname and d-time beteeen \'2009-09-01\' and \'2009-11-04\'


select * from xxx where
curdate() between SUBDATE($d-time,INTERVAL 3 DAY) and $d-time


前一星期
select * from xxx where
curdate() between SUBDATE($d-time,INTERVAL 1 WEEK) and $d-time
前一個月
select * from xxx where
curdate() between SUBDATE($d-time,INTERVAL 1 MONTH) and $d-time
前半年
select * from xxx where
curdate() between SUBDATE($d-time,INTERVAL 6 MONTH) and $d-time

2010-09-25 22:24:46 補充



  • 贊助網站       

    廣利不動產-新板特區指名度最高、值得您信賴的好房仲
    您的托付,廣利用心為您服務
    廣利不動產-板橋在地生根最實在--新板特區指名度最高、值得您信賴的好房仲
    完整房訊,房屋、店面熱門精選物件,廣利不動產 優質仲介,房屋租賃、買賣資訊透明,交易真安心!



  •  共 0 人回應

    姓名:
    佈告內容: