2007년 11월 12일 월요일

날짜 연산....관련

두 날짜 사이의 차를 연산
  intval((strtotime("2005-01-10")-strtotime("2005-01-02"))/86400)    =>     8

strtotime 사용...
    strtotime("+3 day")

댓글 없음:

댓글 쓰기