| 
	
 | 
 Posted by Chris on 10/11/07 22:05 
I am trying to output Monday of the current week i.e. if Monday is the 
8th I want to display 'Monday 8th' for any date between Monday 8-14th. 
 
I would appreciate any help, the code below is heading in the right 
direction but doesn't quite give me the results I am looking for. 
 
$givenday = mktime(0,0,0,10,08,2007); 
$Monday = strtotime("Monday this week",$givenday); 
echo date("j M Y H:i:s", $Monday); 
 
Cheers, 
 
Chris
 
  
Navigation:
[Reply to this message] 
 |