Clock System little help
#4

Hello Imperor:
I think it isn`t the best methode ... but it works

Код:
	new tmin_string[5];

	if(tmin<10) {format(tmin_string,sizeof(tmin_string),"0%d",tmin);}
	else {format(tmin_string,sizeof(tmin_string),"%d",tmin);}

	printf("%d.%d.%d - %d:%s:%d", Day, Month, Year, thour, tmin_string, tsec);
Greetz
~ Kevin
Reply


Messages In This Thread
Clock System little help - by Laure - 12.12.2012, 12:56
Re: Clock System little help - by Laure - 12.12.2012, 13:10
Re: Clock System little help - by Threshold - 12.12.2012, 13:23
Pls Delete, Answer above - by Kevin54321 - 12.12.2012, 13:50

Forum Jump:


Users browsing this thread: 2 Guest(s)