Posts: 727
Threads: 79
Joined: Mar 2012
Reputation:
0
Hello, again a question,
why returns this a value of -641134592
expirestamp = 7948800000;
Is this number to long??
Posts: 5,314
Threads: 12
Joined: Aug 2010
Reputation:
0
Yes.
Minimun : -2.147.483.648
Maximum : 2.147.483.647
Posts: 727
Threads: 79
Joined: Mar 2012
Reputation:
0
Thanks, that sucks a little... so working with timestamps isn't an option in this case...
[EDIT] pfff, never trust tutorials on the internet, it seems timestamp is in seconds and not in milliseconds...
Posts: 1,765
Threads: 1
Joined: Aug 2011
Reputation:
0
YOu could make a stock to make time stamps divide into little stamps solving your problem.
Posts: 1,363
Threads: 14
Joined: Apr 2009
Reputation:
0
or use gettime() which will return a current time stamp in seconds