I use a javascript popup calendar which outputs the result into a textbox, the next step is to post to get the date selected.
For example, if i select 2007-11-05 from the calendar how can i find the day of the week?
For example 2007-11-05 is on Monday.
Directly from the manual page on php.net/date :
// Prints: July 1, 2000 is on a Saturday echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000));
If the date is in a format readable by [man]strtotime/man (which it would appear to be), you could just do:
echo date('l', strtotim($date));
Thanks guys...
No problem. Be sure to mark this thread resolved if that does it for you, please.