Mega Code Archive

 
Categories / Php / Date Time
 

Skip ahead one day to the Tuesday after the first Monday

<? $monday = strtotime('Monday', $november); $election_day = strtotime('+1 day', $monday); print strftime('Election day is %A, %B %d, %Y', $election_day); ?>