I want to be able to figure out the month of the current date variable. I'm ex vb.net and the way to do it there is just date.Month
. How do I do this in PHP?
Thanks,
Jonesy
I used date_format($date, "m"); //01, 02..12
This is what I wanted, question now is how do I compare this to an int since $monthnumber = 01
just becomes 1