get_day_link
TIME/DATE TAG
What It Does
Retrieves the archive URL for a specified date.
Code
<?php get_day_link(‘year’, ‘month’, ‘day’); ?>
If no year, month or day paremeters are specified, the archive for the current date will be retrieved.
Example
To display an archive link to March 20, 2009, you would use:
<a href=”<?php echo get_day_link(’2009′, ’03′, ’20′); ?>”>Archive for March 20, 2009</a>
NOTE: The month and day must be specified with its numerical value (ie. “03″ instead of “March”).
To display an archive link to the current day, you would use:
<a href=”<?php echo get_day_link(”, ”, ”); ?>”>Today’s Archives</a>




