1

Topic: Change TimeZone of Analog clock??

Hi

I must say this is a cool analog clock.

I trying to add to to my web page, but im having problems changing the time zone, i think the PHP script is causing the problem. My web server supports php, i have checked that with technical support.

It just shows a dead clock sad

Here is my code...

<p id="devAnalogClock"><a href="http://www.xorbin.com/">Analog flash clock widget</a></p>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
    var flashvars = {
        clockSkin: "skin002.png",
        arrowSkin: "1",
        arrowColor: "666666",
        UTCTime: "<?php echo gmdate('H:i:s'); ?>",
        timeOffset: '7200'
    };
    swfobject.embedSWF(
        "devAnalogClock.swf",
        "devAnalogClock",
        "220",
        "220",
        "8",
        "expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
</script>

Any advice please??

Thanks

2

Re: Change TimeZone of Analog clock??

I have the same problem, but with digital clock.

The variable         UTCTime: "<?php echo gmdate('H:i:s'); ?>", doesn't work. Shows only dead clock.

Anyone help?