SQLite Hours/Minutes/Seconds
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
new time = gettime()
Time and date, saved in an integer value. You will need something to decode the unix timestamp, though, as I don't think SQLite supports that functionality.
You don't have to decode it if you pass vars by reference.

From the wiki:
pawn Код:
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
printf("%02d:%02d:%02d", Hour, Minute, Second);
Reply


Messages In This Thread
SQLite Hours/Minutes/Seconds - by Hardwell - 27.11.2012, 10:17
Re: SQLite Hours/Minutes/Seconds - by park4bmx - 27.11.2012, 10:21
Re: SQLite Hours/Minutes/Seconds - by Hardwell - 27.11.2012, 11:06
Re: SQLite Hours/Minutes/Seconds - by iggy1 - 27.11.2012, 11:15
Re: SQLite Hours/Minutes/Seconds - by Hardwell - 27.11.2012, 11:17
Re: SQLite Hours/Minutes/Seconds - by Vince - 27.11.2012, 11:25
Re: SQLite Hours/Minutes/Seconds - by Konstantinos - 27.11.2012, 11:26
Re: SQLite Hours/Minutes/Seconds - by iggy1 - 27.11.2012, 11:28
Re: SQLite Hours/Minutes/Seconds - by Vince - 27.11.2012, 11:29
Re: SQLite Hours/Minutes/Seconds - by iggy1 - 27.11.2012, 11:36

Forum Jump:


Users browsing this thread: 1 Guest(s)