"; // draw the date named "foo" inside the form drawDate( "foo", $date, 3); echo ""; echo "
"; // NOTE: if you use a mode 2 for drawing, the result will be // the number of seconds past 1/1/1970 00:00:00 // if (existsDate( "foo", $HTTP_GET_VARS)) { //behold the output of readDate echo "UNIX Date: ".$date. "
"; //make the UNIX date readable to americans echo "prettyDateTime(): ".prettyDateTime($date); } else { echo "NO DATE SUBMITTED"; } ?>

Source for THIS SCRIPT

Source for htmlDateDraw.php3