get_the_time
TIME/DATE TAG
What It Does
Retrieves the current post’s time for use in PHP. get_the_time does not actually display the time. To display the time, you would use the_time. get_the_time must be used within The Loop.
Code
<?php get_the_time(); ?>
get_the_time can be customized to retrieve the time in a variety of different ways. For more information, see PHP Date.
Example
<?php get_the_time(‘F j, Y’); ?>
Again, refer to PHP Date for examples of the many ways you can retrieve the date.




