Index: branches/unlabeled/unlabeled-1.147.2/core/kernel/application.php =================================================================== diff -u -r4967 -r5342 --- branches/unlabeled/unlabeled-1.147.2/core/kernel/application.php (.../application.php) (revision 4967) +++ branches/unlabeled/unlabeled-1.147.2/core/kernel/application.php (.../application.php) (revision 5342) @@ -2035,6 +2035,12 @@ } } + function TimeZoneAdjustment($time_zone=null) + { + $target_zone = isset($time_zone) ? $time_zone : $this->ConfigValue('Config_Site_Time'); + return 3600 * ($target_zone - $this->ConfigValue('Config_Server_Time')); + } + } ?> \ No newline at end of file