Problem after mysql_fetch_row_format
#2

For starters it should be

pawn Код:
SecondsToDHMS (dbt - times, days, hours, mins, sec);
but it probably won't return a exact integer value such as 3 days. It is going to return a float.

You should just do the following:
pawn Код:
new time = floatround((dbt - times) / 86400), floatround_ceil);
Reply


Messages In This Thread
Problem after mysql_fetch_row_format (i thing) - by doreto - 30.12.2012, 11:16
Re: Problem after mysql_fetch_row_format - by [HiC]TheKiller - 30.12.2012, 12:54
Re: Problem after mysql_fetch_row_format - by doreto - 30.12.2012, 13:31
Re: Problem after mysql_fetch_row_format - by doreto - 31.12.2012, 08:56
Re: Problem after mysql_fetch_row_format - by doreto - 01.01.2013, 11:17
Re: Problem after mysql_fetch_row_format - by AndreT - 02.01.2013, 10:56
Re: Problem after mysql_fetch_row_format - by doreto - 04.01.2013, 11:02
Re: Problem after mysql_fetch_row_format - by Roel - 04.01.2013, 11:21
Re: Problem after mysql_fetch_row_format - by Djole1337 - 04.01.2013, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)