Forums
-
- Forum
- Posts
-
- Installation
- 28,528
- Troubleshooting
- 62,960
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,045
- Showcase
- 3,250
-
If your php code work and displayed the date as “THU JAN 1970”, it happen due php code ‘D M Y’
You should refer this page http://php.net/manual/en/function.date.php to change code that will suit your display need.
<?php global $post;
$lalaposttime = date( 'CHANGE THIS', strtotime( $post->post_id ) );
echo $lalaposttime; ?>