# Multiple City Clocks

**URL:** <https://forum.kirupa.com/t/multiple-city-clocks/152884>\
**Category:** flash\
**Created:** [June 27, 2005, 11:34pm UTC](https://forum.kirupa.com/t/multiple-city-clocks/152884 "2005-06-27T23:34:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skimo](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@skimo](https://forum.kirupa.com/u/skimo)\
**Post date:** [June 27, 2005, 11:34pm UTC](https://forum.kirupa.com/t/multiple-city-clocks/152884/1 "2005-06-27T23:34:39Z")

</div>

[size=1]I’m creating a header, which requires several international times. [Header found [here](http://www.futurosusa.com/inicio.html)]. The first clock seems to work fine. The problem is with the other clocks. I can’t figure out what numbers to use in place of the 30. [hours = hours\*30;]

Here is the code for the clock that seems to work fine.

[/size][indent][size=1]time=new Date(); // time object[/size]  
[size=1]minutes = time.getMinutes()[/size]  
[size=1]hours = time.getHours()[/size]

[size=1]hours = hours + (minutes/60);[/size]

[size=1]minutes = minutes_6; // calculating minutes[/size]  
[size=1]hours = hours_30; // calculating hours[/size]

[size=1]min.\_rotation=minutes; // giving rotation property[/size]  
[size=1]hour.\_rotation=hours; // giving rotation property

[/size][/indent][size=1]If anyone has any ideas on this, I would really appreciate it. Thank you.  
[url=“[http://www.benjaminkopel.com](http://www.benjaminkopel.com)”]  
Skimo  
[/size]
