Thanks it worked.
Now if I want it to start at 45:00 (for the second half) and stop at 90:00
I tried to edit these two expression lines:
clockStart = 2700; //(2700 so it can start at 45:00)
clockTime = Math.min(clockStart +countspeed*(time – inPoint),90*60);
But when I try to change the second expression to 90*60, the time returns to 00:00 when it reaches 59:59.
How can I make it work ?