sedgemonkey on 02/22/11
Last Edited at 02/22/11 01:23pm
//Show content based on the dayif ($ts > mktime(0,0,0,5,7,2010)) { //5/7/2010 echo "It's May 5th or later!";} else if ($ts > mktime(0,0,0,4,26,2010)) { //4/26/2010 echo "It's between April 26 and May 5!";} else { echo "It's earlier than 4/26!";}
Report this snippet Tweet
Comment:
You need to login to post a comment.