Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
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);