From 25f16f29933987adde3c63b2806548a02d0c0401 Mon Sep 17 00:00:00 2001 From: Paul Chen Date: Fri, 21 Nov 2008 06:41:13 +0000 Subject: [PATCH] No time zone, UTC default --- common.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.php b/common.php index 422b6d9..b18ba78 100644 --- a/common.php +++ b/common.php @@ -35,9 +35,11 @@ function genRandRaw($len) { return $s; } +// Return eg. 2008-11-21T06:11:55 +// function getUTCTimeStamp() { date_default_timezone_set('UTC'); - return date('Y-m-d\TH:i:s\ZZ', time()); + return date('Y-m-d\TH:i:s', time()); } // Sign a http query string in the array of key-value pairs