In include\functions.php
Code: Select all
#
#-------[ FIND ]-----------------------------------------
#
return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz));
#
#------[ REPLACE WITH ]----------------------------------
#
// Fix for Daylight Savings Time
$dst = date('I', $gmepoch) * 3600;
return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz) + $dst), $translate) : @gmdate($format, $gmepoch + (3600 * $tz) + $dst);
#
#------{ SAVE/CLOSE ALL FILES ]--------------------------
#
# EoM
- http://www.php.net/manual/en/function.date.php
- http://webexhibits.org/daylightsaving/
- http://www.pbs.org/wgbh/nova/longitude/
- http://www.bsdi.com/xdate
- http://www.timeanddate.com/worldclock/meeting.html
Regards,
TW