| | CODE <?php $date = date([b]F j, o[/b]); //Displays April 25, 2007 (Assuming that is the current date) $time = date([b]g:i a[/b]); //Displays 4:26 PM (Assuming that is the current time) echo "Welcome! The date is $date and the time is currently $time."; ?> You can change the date and time formats by changing the text in bold above. For a complete list of time formats, visit the link below. http://us2.php.net/manual/en/function.date.php |

