diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/functions/functions.php | 7 |
1 files changed, 7 insertions, 0 deletions
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 |