![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I need to display a time in a custom format on the screen, so I've used the
getMinutes() method and the equivalenet for hours, minutes, seconds. I concatenate them into a string with colons between them. However, if it is 11:07, This results in 11:7 being displayed. How can I force this program to display the extra 0 when necessary? |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise