하루전 일주일전 한달전 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

하루전 일주일전 한달전 정보

PHP 하루전 일주일전 한달전

본문

echo date("Y-m-d",strtotime("-1 days"));

echo date("Y-m-d",strtotime("-1 weeks"));

echo date("Y-m-d",strtotime("-1 months"));

추천
3
  • 복사

댓글 1개

© SIRSOFT
현재 페이지 제일 처음으로