#2

Yeah, use "gettime", EG:

PHP Code:
new str[20], time[3];
gettime(time[0], time[1], time[2]);
format(strsizeof(str), "%i:%i:%i"time[0], time[1], time[2]); 
Then insert it into the DB as a string (Make sure the table settings for that column is a VARCHAR).
Reply


Messages In This Thread
time - by StrikerZ - 27.04.2017, 13:09
Re: time - by iGetty - 27.04.2017, 14:11
Re: time - by StrikerZ - 27.04.2017, 14:14
Re: time - by Vince - 27.04.2017, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)