aaronhaul
03-29-2014, 11:51 PM
Hello Guys,
I want to display a custom date and time on the left or right side of the Navigation bar with the below PHP code:
<?php
$hourdiff = "8"; // hours diff btwn server and local time
$vbdate = date("l, d F Y - h:i A", time() + ($hourdiff * 3600));
print ("$vbdate");
?>
This is the return format: Saturday, 30 March 2014 - 12:52 AM
Will this be included in the vBulletin template or the php on cPanel, or where exactly? I noticed vB templates do not write in plain php. So am seriously confused on where to include this.:confused:
Can anybody please help?
I want to display a custom date and time on the left or right side of the Navigation bar with the below PHP code:
<?php
$hourdiff = "8"; // hours diff btwn server and local time
$vbdate = date("l, d F Y - h:i A", time() + ($hourdiff * 3600));
print ("$vbdate");
?>
This is the return format: Saturday, 30 March 2014 - 12:52 AM
Will this be included in the vBulletin template or the php on cPanel, or where exactly? I noticed vB templates do not write in plain php. So am seriously confused on where to include this.:confused:
Can anybody please help?