Show real date & time – like 2015–08-03

4.05K viewsGeneral
1

Hi ,

I want to show the real date & time ( 2015 – 08-03) not like ” 6 days ago ” .. How can I do that ? ??

Thanks all

1

Hi,

use wordpress function to get date and time of post (question, …) this is saved as custom_post.

So

get_the_date (); // Date
get_the_time(); // Time