How do I make an Analog Clock?

Requested and Answered by AdamC on 14-Jan-2006 16:08

How do I make an Analog Clock?

If you check out the Date/Time formatting syntax in the Samurize help file:


Analog options (With decimals for smoother analog clock):
%h Gives hours.
Min: 0 Max: 12
%m Gives minutes.
Min: 0 Max: 60
%s Gives seconds.
Min: 0 Max: 60


If you want to have three clock hands, one for seconds, one for minutes and one for hours, you'll need 3 Date/Time meters each with their Display Type set to Analog.

The seconds hand should have %s in the format box (source tab), using min=0, max=60, sweep=-360, start angle=90 (display tab)

The minutes hand should have %m in the format box (source tab), using min=0, max=60, sweep=-360, start angle=90 (display tab)

The hours hand should have %h in the format box (source tab), using min=0, max=12, sweep=-360, start angle=90 (display tab)

This Q&A was found on Samurize.com : http://www.samurize.com/modules/smartfaq/faq.php?faqid=43