채택완료

((Int) date('Y', strtotime($sdate))*12*31)+((Int) date('m', strtotime($sdate))*31)+ (Int) date('d', strtotime($sdate));는 무엇을뜻하나요?​

$sdate=2015-10-01;​

 

 

((Int) date('Y', strtotime($sdate))*12*31)+((Int) date('m', strtotime($sdate))*31)+ (Int) date('d', strtotime($sdate));는 무엇을뜻하나요?​

|

답변 1개

채택된 답변
+20 포인트

$sdate에서 년, 월, 일 값만 갖고 와서

년*12*31

월*31

일

이 세 가지 더하기 한 후에 나오는 값입니다. 

답변을 작성하려면 로그인이 필요합니다.