Can you help me with PHP date functions?

  • Thread starter Thread starter Kavrocks
  • Start date Start date
K

Kavrocks

Guest
<?php
$actualDate = time();
$actualDateDisplay = date($dateFormat,$actualDate);
?>
<html>
<body>
<?php echo $actualDateDisplay; ?>
</body>
</html>

Thats the php code I have for writing todays date but it shows the time of my server and not the time of my timezone, is there a simple way that I can add 5 hours to that date to make it show my correct time and date?
 
Back
Top