aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 9106c2c5ec..08cc9ed8f2 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -272,6 +272,14 @@ function create_date($format, $gmepoch, $tz)
}
//
+// Create a GMT timestamp
+//
+function get_gmt_ts()
+{
+ return(gmmktime(gmdate("H, i, s, m, d, Y")));
+}
+
+//
// Pagination routine, generates
// page number sequence
//