-
the_date()would output November 20, 2018 by default. -
echo get_the_date( 'l, S M Y' )would output Tuesday, 20th Nov 2018. -
the_time( 'g:i a' )would output 2:03 pm. -
echo get_the_time( 'G:i' )would output 14:03. -
the_time( 'g:i a, D, j F y' )would output 2:03 pm, Tues, 20 November 18.
Comments
Post a Comment