Calculate Days.
#7

pawn Код:
(timestamp - gettime()) / 86400
// or
(timestamp - gettime()) / 60 / 60 / 24
// or
(timestamp - gettime()) / (60 * 60 * 24)
where timestamp is equal to 1467387606. All three of them give 13 days.
Reply


Messages In This Thread
Calculate Days. - by Spenker - 17.06.2016, 15:47
Re: Calculate Days. - by Dayrion - 17.06.2016, 15:54
Re: Calculate Days. - by Matz - 17.06.2016, 15:56
Re: Calculate Days. - by Spenker - 17.06.2016, 15:59
Re: Calculate Days. - by Dayrion - 17.06.2016, 16:28
Re: Calculate Days. - by Matz - 17.06.2016, 16:29
Re: Calculate Days. - by Konstantinos - 17.06.2016, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)