Skip to content

Instantly share code, notes, and snippets.

@gicolek
Created December 13, 2012 14:04
Show Gist options
  • Save gicolek/4276579 to your computer and use it in GitHub Desktop.
Save gicolek/4276579 to your computer and use it in GitHub Desktop.
the_time() usage example
<?php
// bah
?>
<a href="#" title="<?php the_time('h:i a'); ?>" rel="bookmark">
<time class="entry-date" datetime="<?php the_time('c'); ?>"><?php the_time( 'jS F Y' ); ?></time>
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment