local to gmt function doesn't work |
GMT is correct, but I think your $config['time_reference'] is incorrect.
The explanation in the config.php is PHP Code: /* Note the first line: Options are 'local' or any PHP supported timezone If you look at PHP.net an expected timezone for Singapore = Asia/Singapore So if the set timezone in not supported, it will fail and use the system default. Which in your case is Europe/Berlin which explains the 2 hour difference between your Local and GMT time |
Messages In This Thread |
local to gmt function doesn't work - by ardavan - 07-11-2017, 06:41 AM
RE: local to gmt function doesn't work - by Martin7483 - 07-11-2017, 01:51 PM
RE: local to gmt function doesn't work - by ardavan - 07-11-2017, 06:29 PM
RE: local to gmt function doesn't work - by skunkbad - 07-11-2017, 06:47 PM
RE: local to gmt function doesn't work - by ardavan - 07-11-2017, 07:21 PM
RE: local to gmt function doesn't work - by skunkbad - 07-11-2017, 07:52 PM
RE: local to gmt function doesn't work - by Martin7483 - 07-12-2017, 01:07 AM
RE: local to gmt function doesn't work - by ardavan - 07-12-2017, 09:03 AM
RE: local to gmt function doesn't work - by Martin7483 - 07-13-2017, 02:31 AM
|