# Time as float values

**URL:** <https://discourse.processing.org/t/time-as-float-values/36327>\
**Category:** Coding Questions\
**Created:** [April 14, 2022, 4:07am UTC](https://discourse.processing.org/t/time-as-float-values/36327 "2022-04-14T04:07:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [April 14, 2022, 5:21am UTC](https://discourse.processing.org/t/time-as-float-values/36327/3 "2022-04-14T05:21:40Z")

</div>

Hi  
This may help

> [@Analogue Clock Second hand Sweep not Tick](https://discourse.processing.org/t/analogue-clock-second-hand-sweep-not-tick/2331):
>
> Hi All, I’m busting my brains with this one. I’ve taken the very simple clock sketch from the examples, but instead of drawing the lines I’m using images of clock hands. I currently have my clock working perfectly, however I want the second hand to sweep, not tick. float s = map(second(), 0, 60, 0, 360); The above command is the one i’m using. (s is used in my radians) pushMatrix(); translate(411, 349); rotate(radians(s)); image(secondHand, -16, -190); popMatrix(); Now understanda…

---

_[View the full topic](https://discourse.processing.org/t/time-as-float-values/36327)._
