Unixtimestamp to Readable Date (Days)
#3

Seems like, It returns wrong

I input

"/setvip Jake_Hero 1 3"

- /setvip PlayerID/Name Days Level.

It saves fine. However, timec displays, You're VIP for: 50 days. It should display, You're VIP for: 1 days.

pawn Код:
new expired = gettime()+(days*86400);
Again, this is the code i use to get the unix timestamp.
Reply


Messages In This Thread
Unixtimestamp to Readable Date (Days) - by JaKe Elite - 06.10.2013, 11:57
Re: Unixtimestamp to Readable Date (Days) - by xXShadowXx - 06.10.2013, 12:24
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 07.10.2013, 10:02
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 07.10.2013, 10:54
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 19.10.2013, 04:37
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 02.08.2016, 09:08
Re: Unixtimestamp to Readable Date (Days) - by Vince - 02.08.2016, 09:39
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 02.08.2016, 09:45
Re: Unixtimestamp to Readable Date (Days) - by PrO.GameR - 02.08.2016, 12:30
Re: Unixtimestamp to Readable Date (Days) - by JaKe Elite - 03.08.2016, 09:49

Forum Jump:


Users browsing this thread: 4 Guest(s)