(postname, post_time , post_id)
when a post is made i call the function below
Code: Select all
function create_date()
{
$today = date("D M d, Y H:i:s");
$format = $today;
return $format;
}
Code: Select all
$post_time = create_date();Now how shud i retrieve / display the post_time variable with the actual time of post ?
There is no need of TimeZone functionality for this script because the script will be used Locally only. Any suggestions or examples will be helpful