Skip to content Skip to main menu Skip to utility menu

Reply To: Incorrect time on events listings

Home Forums GovIntranetters Incorrect time on events listings Reply To: Incorrect time on events listings

#1904

colshaw
Participant

I am not sure why it works for others and not us but in the end I went with adding the following 2 lines for it to function and show the correct time.

$thistime = get_post_meta($post->ID,’event_start_time’,true);
echo ““.date(‘l j M Y’,strtotime($thisdate)).” “.date(‘g:iA’,strtotime($thistime)).”“;