답변 2개 / 댓글 2개
채택된 답변
+20 포인트
<?php echo date("y-m-d", strtotime($view['wr_datetime'])) ?>
Y 연도
m 월
d 날짜
h 시간
i 분
h:i 빼시면 됩니다.
답변을 작성하려면 로그인이 필요합니다.