How can I check which day is today ?
#5

Код:
new YEAR, MONTH, DAY, HOUR, MINUTE, SECOND;
getdate(YEAR, MONTH, DAY);
gettime(HOUR, MINUTE, SECOND);
printf("%02d/%02d/%d - %02d:%02d", DAY, MONTH, YEAR, HOUR, MINUTE);
Will output "01/10/2011 - 3:11".
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)