2002年10月29日 - 計算出兩個日期相差幾天: 如果你的日期有含時分秒,那麼要先to_char(去掉時分秒) 再 to_date相減(因為string沒辦法相減)。 sample:
www.programmer-club.com.tw