Display date using the_time() function


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // Displays date in following format - March 4, 2011
  2. <?php the_time('F j, Y'); ?>
  3.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.