Run »
"; //The mktime() function is useful for doing date arithmetic and validation. //It will automatically calculate the correct value for out-of-range input: echo date("M-d-Y",mktime(0,0,0,12,36,2001)) . "
"; echo date("M-d-Y",mktime(0,0,0,14,1,2001)) . "
"; echo date("M-d-Y",mktime(0,0,0,1,1,2001)) . "
"; echo date("M-d-Y",mktime(0,0,0,1,1,99)) . "
"; ?>
Oct 3, 1975 was on a Friday
Jan-05-2002
Feb-01-2002
Jan-01-2001
Jan-01-1999