View Single Post
Old 09-28-2010, 07:27 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,793
You need something like

$a = getdate(time());

$day_of_month = $a["mday"];

Then you can test $day_of_month for a value from 1 to 31 giving the day of the month you're on.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote