View Full Version : easy php Q
ok i need to know how to use php to determine what month it is, simple enough yet i searched the php manual and didnt find anything.
thanks,
Will ;)
kevin
12-04-2001, 09:35 PM
See if this helps you:
http://www.php.net/manual/en/function.date.php
Kevin
yep that worked, thanks
:)
scoutt
12-05-2001, 12:55 PM
he he :D didn't look hard enough did you??
did you use
$date = date(d,M,Y);
i typed month :p
i used, date(M)
all i needed was the month and year
so i stored month as a variable and year as a variable (because they will be inserted into my db so that users can search for archives according to the month the articles were written) =)
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.