Here's a simple example of a new year countdown timer
int PRINT = OBJ_0;
string S;
string zero(int num){
string N;
N = num;
if(iStringLen(N) < 2) N = "0"+N;
return(N);
}
void Main()
{
//Get date and time info
int day = iSystemTime(3);
int hour = iSystemTime(4);
int minute = iSystemTime(5);
int second = iSystemTime(6);
float days = 31-day;
float hours = 24-hour-1;
float minutes = 60-minute-1;
float seconds = 60-second;
iPrint(S="Local Time "+zero(hour)+":"+zero(minute)+":"+zero(second),-6,6,PRINT);
iPrint("DAYS" , 1,4, PRINT);
iPrint("HOURS" , 1,2.5, PRINT);
iPrint("MINUTES",1,1, PRINT);
iPrint("SECONDS",1,-0.5,PRINT);
iPrint(S=zero(days), -1,4, PRINT);
iPrint(S=zero(hours), -1,2.5, PRINT);
iPrint(S=zero(minutes),-1,1, PRINT);
iPrint(S=zero(seconds),-1,-0.5,PRINT);
}