[RESOLVED] Question about Months..
Hello again.. I am trying to figure out how to get the first day of the month(Monday,Tuesday,etc).. Not the current month but like next month, or the month before.. Is there a way I could get the first day of the month using they abbr. of the month? Ie: "Aug", or something? Thanks for the help! :)
Re: Question about Months..
You can find out the what ever day, date, time etc by using mktime. From this you can use date to get the day name and month.
Re: Question about Months..
Erm, I am not sure I understand exactly.. I have tried it but what am I supposed to do exactly.. I have tried it several ways.. An nothing.
Re: Question about Months..
This should get you started.
PHP Code:
// Prints: July 1, 2000 is on a Saturday
echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000));
Re: Question about Months..
I got it working now, thanks to both of you. :)