전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.
the last day of any given month can be expressed as the "0" day of the next month, not the -1 day. both of the following examples will produce the string "the last day in feb 2000 is: 29".
$lastday=mktime( 0,0,0,3,0,2000); echo strftime("last day in feb 2000 is: %d",$lastday); $lastday=mktime(0,0,0,4,-31,2000); echo strftime("last day in feb 2000 is: %d",$lastday);