On 5/22/07, Bosky, Dave <Dave.Bosky@xxxxxxxxxx> wrote:
How can I convert the numerical day of week to the string version? Example, if the day of the week is 1 I would like to print out 'Sunday'.
$days = array( 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ); $day = 1; echo $days[ $day - 1 ]; -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php