diff --git a/phpBB/functions/functions.php b/phpBB/functions/functions.php index 86957f4a6f..eba819730e 100644 --- a/phpBB/functions/functions.php +++ b/phpBB/functions/functions.php @@ -409,4 +409,11 @@ function decode_ip($int_ip) } +// +// Create date/time from format and timezone +// +function create_date($format, $gmepoch, $tz) +{ + return (date($format, $gmepoch + (3600 * $tz))); +} ?> \ No newline at end of file