<? PHP의 date_default_timezone_set ( 'PRC'); // 默认时区 에코 "今天:" 날짜 ( "Ymd 일수", 시간 ()) "로 <br>" ; 에코 "今天:" 날짜 ( "Ymd 일수" 한 strtotime ( "2008년 6월 18일")) "로 <br>"을 ; 에코 "昨天:" 날짜 ( "Ymd 일수" 한 strtotime ( "-1 일")) "로 <br>"을 ; 에코 "明天:" 날짜 ( "Ymd 일수" 한 strtotime ( "일일")) "로 <br>을" ; 에코 "一周后:" 날짜 ( "Ymd 일수" 한 strtotime ( "일주")) "로 <br>" ; 에코한 strtotime ( "1개월")) "로 <br>." ; 에코 "后十年". 날짜 ( "Ymd 일수" 한 strtotime ( "십년")) "로 <br>." ; 에코 ( 한 strtotime ( ' 2020년 5월 20일') - 한 strtotime (날짜 ( "Ymd 일수"))) / 86400; ?>