[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1065: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 181: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 182: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Silverjuke Forum 2009-05-07T12:41:52+01:00 https://www.f0rum0ld.silverjuke.net/feed.php?f=18&t=2498 2009-05-07T12:41:52+01:00 2009-05-07T12:41:52+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=11350#p11350 <![CDATA[Re: Unable to get the local time in a script]]>
Best regards,
Your Silverjuke-Team

Statistics: Posted by Service-Team — 7. May 09, 12:41


]]>
2009-05-07T09:33:42+01:00 2009-05-07T09:33:42+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=11349#p11349 <![CDATA[Re: Unable to get the local time in a script]]>
SilverEagle wrote:
> How do I get a correct local time
> ...

Any input on this issue?

Regards,
SilverEagle

Statistics: Posted by SilverEagle — 7. May 09, 09:33


]]>
2009-04-16T19:04:43+01:00 2009-04-16T19:04:43+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=11214#p11214 <![CDATA[Re: Unable to get the local time in a script]]> Statistics: Posted by SilverEagle — 16. Apr 09, 19:04


]]>
2009-04-16T18:39:09+01:00 2009-04-16T18:39:09+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=11213#p11213 <![CDATA[Re: Unable to get the local time in a script]]> "newDate().getHours() + 2" is giving the right time, at least during the summertime :twisted:

Statistics: Posted by Frenchi — 16. Apr 09, 18:39


]]>
2009-04-16T22:19:41+01:00 2009-04-16T15:05:04+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=11212#p11212 <![CDATA[Re: Unable to get the local time in a script]]>
One year later, 16:01 on the wallclock and in Windows (XP). But Silverjuke still thinks both new Date().getHours() and new Date().getUTCHours() are 14...

How do I get a correct local time with 16 hours? (And no, deactivating automatic summertime in XP is not an option ;-))

SilverEagle

Statistics: Posted by SilverEagle — 16. Apr 09, 15:05


]]>
2008-04-14T21:03:01+01:00 2008-04-14T21:03:01+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=7820#p7820 <![CDATA[Re: Unable to get the local time in a script]]> I have a work-around for now, so no hurry.
regards,
Bert

Statistics: Posted by bertkessels — 14. Apr 08, 21:03


]]>
2008-04-14T10:24:17+01:00 2008-04-14T10:24:17+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=7811#p7811 <![CDATA[Re: Unable to get the local time in a script]]>
thank you for your report, we will check this when we update the underlying JavaScript-engine in one of the next Silverjuke updates.

Best regards,
Your Silverjuke-Team

Statistics: Posted by Service-Team — 14. Apr 08, 10:24


]]>
2008-04-13T22:09:14+01:00 2008-04-13T22:09:14+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=7808#p7808 <![CDATA[Re: Unable to get the local time in a script]]> (In the dutch Windows version this is the option: "Klok automatisch aanpassen aan zomertijd en wintertijd", its on the timezone tab of the date/time settings)
I switched the option off and getHours() now returns the local time correctly, getTimeZoneOffset() returns now -60 (minutes) which is correct. Is this a bug in Windows or in Silverjuke?

Statistics: Posted by bertkessels — 13. Apr 08, 22:09


]]>
2008-04-13T21:35:59+01:00 2008-04-13T21:35:59+01:00 https://www.f0rum0ld.silverjuke.net/viewtopic.php?t=2498&p=7807#p7807 <![CDATA[Unable to get the local time in a script]]> As it turns out, this results in the GMT date/time (universal time).
As I'm living in the Netherlands, this is 2 hours earlier than the local time (1 hour plus 1 hour for daylight saving). To compensate this I use the getTimezoneOffset() method. This method, however, returns 0. What do I do wrong here?
function checkTime()
{
var now = new Date();

alert('now.getHours() is ' + now.getHours()
+ '; now.getUTCHours() is ' + now.getUTCHours()
+ '; now.getTimezoneOffset() is '+ now.getTimezoneOffset()
+ '; now.toString() is ' + now.toString()
);

}

Results at 22:13 pm local time:

now.getHours() is 20; now.getUTCHours() is 20; now.getTimezoneOffset() is 0; nowtoString() is Sun, 13 apr, 2013:33

Help!

Statistics: Posted by bertkessels — 13. Apr 08, 21:35


]]>