Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 1 made on Wednesday June 9, 2021 at 01:26
mpg7321
Regular Member
Joined:
Posts:
June 2020
111
Can any one help, first line works, second line does not, any ideas on why?

var timeR = hoursR + ':' + minutesR + ':' + secondsR;


var timeR = hoursR.toString().padStart(2, '0') + ':' + minutesR.toString().padStart(2, '0') + ':' + secondsR.toString().padStart(2, '0');


Hosting Services by ipHouse