change the appearance of time

 

Hello

what should I change this code to display the time in seconds to 2 digit constantly?

double i;
int m,s,k;
m=Time[0]+Period()*60-CurTime();
i=m/60.00;
s=m%60;
m=(m-m%60)/60;
//Comment( m + " minutes " + s + " seconds left to bar end");

thanks

 
Pay attention to TimeToStr() function
 

What is 2-digit time?

From your comment

//Comment( m + " minutes " + s + " seconds left to bar end");

it looks like you are trying to make a bar timer.

Comment("Time Remaining: ", TimeToStr( (Time[0]+60*Period()) - TimeCurrent(), TIME_SECONDS));

Reason: