Wordpress reverse date format for display but not db -
i have events page using custom wp_query can split post upcoming events , past events. need date stored in database y/m/d format display on front ends d/m/y. on how should this, reverse jquery there might better way?
thanks
that page using the_date() function.
if so, modify using format parameter this:
the_date('d/m/y');
check this codex page formatting date , time.
Comments
Post a Comment