100일 뒤 날짜구하기, 특정 날짜 구하기
·
PHP
echo date("Y-m-d"); //현재 일자echo date("Y-m-d", strtotime("+ 100days")); //100일뒤 날짜 - 오늘 기준//디비에서 넘어온 특정 날짜 기준으로 100일 뒤 날짜 echo date("Y-m-d", strtotime("+ 100 days", strtotime($date)));echo date("Y-m-d", strtotime($date."+ 100 days"));echo date("Y-m-d", strtotime("-1 day")); // 어제echo date("Y-m-d", strtotime("+1 day")); //내일echo date("Y-m-d", strtotime("+1 week")); //일주일 후 echo date("Y-m-d", strt..
만두남
'특정일자계산' 태그의 글 목록