1
topgod6
Problem with clock!
  • 2005/7/28 9:48

  • topgod6

  • Just popping in

  • Posts: 30

  • Since: 2005/7/27


2
Dave_L
Re: Problem with clock!
  • 2005/7/28 11:39

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You need to add the leading "0":

funTim=dayTim.getMinutes();
[
color=ff0000]funTim = (funTim 10) ? '0' funTim funTim;[/color]
byoTim=dayTim.getSeconds();
[
color=ff0000]byoTim = (byoTim 10) ? '0' byoTim byoTim;[/color]

Login

Who's Online

268 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 268


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits