Help timestamp
#6

Just save the unix timestamp (with gettime()) and then do what brent94 recommended.
The saved timestamp will look something like 1400773076 which is the amount of seconds since January 1st, 1970. And then as brent94 stated, check whether the timestamp now (gettime() again) equals the saved timestamp + 18000 (seconds, so 5 hours). That way you don't have to worry about the format of the timestamp, so no hours or minutes.
Reply


Messages In This Thread
Help timestamp - by TheSy - 20.05.2014, 15:52
AW: Help timestamp - by Madd92 - 20.05.2014, 16:05
Re: Help timestamp - by TheSy - 20.05.2014, 16:39
Re: Help timestamp - by brent94 - 20.05.2014, 16:43
Re: Help timestamp - by TheSy - 20.05.2014, 16:52
AW: Help timestamp - by Madd92 - 22.05.2014, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)