I put the following code onto my blog because my birthday is coming up soon:
$day = 20; // Day of the countdown
$month = 12; // Month of the countdown
$year = 2003; // Year of the countdown
print ( “Only”. (int)((mktime (0,0,0,$month,$day,$year) – time(void))/86400) . ” shopping days left til my birthday on Dec. 20th”);
The code seems to work fine, but now I notice that my monthly archives show up on the page as 2003, 2003, instead of Dec 2003 and Nov 2003. For those I’m using the code:
<?php get_archives(‘monthly’); ?>
Does anyone know what’s happening here? Is there a conflict or something? Does anyone know how to fix it?
- You must be logged in to reply to this topic.