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'); ?>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.