Permalink
Browse files

set timezone in footer

  • Loading branch information...
dg9vh committed Jan 31, 2017
1 parent 76727a2 commit e34e676d4f20f616d14ed39a0bbb463b788cf579
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.php
View
@@ -62,9 +62,9 @@
?>
<div class="panel panel-info">
<?php
$datum = date("Y-m-d");
$uhrzeit = date("H:i:s");
echo "YSFReflector-Dashboard V ".VERSION." | Last Reload $datum, $uhrzeit";
$lastReload = new DateTime();
$lastReload->setTimezone(new DateTimeZone(TIMEZONE));
echo "YSFReflector-Dashboard V ".VERSION." | Last Reload ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")";
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];

0 comments on commit e34e676

Please sign in to comment.