# What does this code mean?

**URL:** <https://forum.kirupa.com/t/what-does-this-code-mean/295598>\
**Category:** Uncategorized\
**Created:** [September 1, 2009, 6:27pm UTC](https://forum.kirupa.com/t/what-does-this-code-mean/295598 "2009-09-01T18:27:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arelle](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Arelle](https://forum.kirupa.com/u/Arelle)\
**Post date:** [September 1, 2009, 6:27pm UTC](https://forum.kirupa.com/t/what-does-this-code-mean/295598/1 "2009-09-01T18:27:27Z")

</div>

actually i understand what its doing, i just don’t know HOW its done?  
hours, mins, and secs are all variables with values- the following displays it in this format: hh:mm:ss

[FONT=&quot]myTime.text((hours\<10)?“0”:"") + hours + ((mins\<10)?":0":":") + mins + ((secs\<10)?":0":":") + secs;[/FONT]

what exactly does the ? do? maybe thats where i don’t understand it…
