Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Stupid php date question (new problems!)
This discussion has been closed.
Comments
I'm finding the time via a php timestamp:
<?php $timestamp = explode(" ",microtime()); $timestamp = round(($timestamp[1] + $timestamp[0])*1000); // GMT server timestamp in milliseconds ?>
This is then fed into Flash as is for the UK time, and -5hrs for the NY time.
From here in the UK this works perfectly, but when viewed from the US, the NY time is somehow pushed back another hour (-6hrs from UK time).
putenv("TZ=US/Central");
http://us3.php.net/putenv