06.10.2013, 11:57
Hello.
I read ___'s Unix Timestamp tutorial.
And i finally make a Temporary VIP System using the Unix Timestamp.
However,
There is problems on it, I want to display a client showing how many days (or what date) will the VIP expired.
The timec function results 52.
- timec(gettime()-TheTimeStamp)
Here is the timestamp i'm trying to display into readable date (days)
And this is how i made the days into unix timestamp
Base on ___'s tutorial.
I heard converting it is pretty hard, leap years etc...
I read ___'s Unix Timestamp tutorial.
And i finally make a Temporary VIP System using the Unix Timestamp.
However,
There is problems on it, I want to display a client showing how many days (or what date) will the VIP expired.
The timec function results 52.
- timec(gettime()-TheTimeStamp)
Here is the timestamp i'm trying to display into readable date (days)
Код:
1381201221
pawn Код:
new expired = gettime()+(days*86400);
I heard converting it is pretty hard, leap years etc...