Jump to content

Hour Identifier In Date


son

Recommended Posts

I am confused here about the hour value in displayed date from timestamp I retrieve from db. To display date I use the following

date_default_timezone_set('GTM');    $rDate=date("d.m.Y, G:i", $rDate);echo $rDate;

The hour is wrong, it is one hour too late. Why could that be? I used a date/time to timestamp converter for values in db, so this should be fine (also when I use converter the other way round works just fine)... Son

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...