10.10.2014, 20:37
Quote:
Yeap, look this
10053020140511 10 is hours.. If it's hours less 10, then will be 9 and code will be 9053020140511 and this code have 13 numbers. I need only 14 numbers, so when it's date or time less 10, I need 0 before time/date... Dou You understand now? |
Get this
https://sampforum.blast.hk/showthread.php?tid=347605
Do this
pawn Код:
new year, month, day, hour, minute, second;
TimestampToDate(time, year, month, day, hour, minute, second, 1);
format(line, sizeof(line), "%i/%02i/%02i - %i:%02i:%02i", year, month, day, hour, minute, second);