days of seconds.
#1

Hi all.I want to ask how to convert second to days? i try to do that:

Код:
new Days = (Seconds/(3600*24))%24;
But not work.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=254915 can help?
Reply
#3

It's no help me.
Reply
#4

pawn Код:
new Days = floatround( Seconds / 86400, floatround_floor ) % 24;
or
pawn Код:
new Days = floatround( Seconds / 86400, floatround_floor );
Reply
#5

no work.
Reply
#6

http://forum.sa-mp.com/showpost.php?...&postcount=973

That should help you out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)