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


You need to login to view comments.