28.04.2011, 07:10
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
new SecondsA = gettime();
printf("Seconds since midnight 1st January 1970: %d", SecondsA);
how_to_convert_SecondsA_to_Hour,Minute,Second?
new Year, Month, Day;
getdate(Year, Month, Day);
printf("%02d/%02d/%d", Day, Month, Year);
new DaysA = getdate();
printf("Days since the start of the year: %d", DaysA);
how_to_convert_DaysA_to_Month,Day?
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
new SecondsA = gettime();
printf("Seconds since midnight 1st January 1970: %d", SecondsA);
how_to_convert_SecondsA_to_Hour,Minute,Second?
new Year, Month, Day;
getdate(Year, Month, Day);
printf("%02d/%02d/%d", Day, Month, Year);
new DaysA = getdate();
printf("Days since the start of the year: %d", DaysA);
how_to_convert_DaysA_to_Month,Day?