I have to get several weeks like Jan, February in Wordpress. I've attempted:
the_time('M')
the_time('b')
the_date('M')
get_the_date('M')
However I get no output whatsoever. Other formats except M work, and as it is printing the worthiness immediately I am unable to format it later on.
Any ideas?
the_time('M')
and the_date('M')
do same factor and dealing
Other 2 maybe did not work because i not used at all it try :
<?php the_time('F j, Y'); ?> & <?php the_time('g:i a'); ?>
Where are you currently attempting to run this? Keep in mind that the_time() needs to be utilized inside the Loop, otherwise it will not have almost anything to print/return: http://codex.wordpress.org/Function_Reference/the_time
Hope that can help!