|
Posted 10 January 2009, 15:13
It's a server problem. You'll need to talk to your host to see if they will allow it.
Jack
Started by Jack_mcs on
, 20 posts
by 8 people.
Answer Snippets (Read the full thread at oscommerce):
nhours = round($nseconds / 3600); // One hour has 3600 seconds
to this
$nhours = round($nseconds Posted 25 March 2009, 16:37
Hi Jack
I've made the code change you suggested (return $nhours; instead / 3600) *....
|
|
Posted 15 December 2009, 09:40
Hi Jack,
Trouble still...
I update the file but it still doesn't work...
Started by proimage on
, 18 posts
by 6 people.
Answer Snippets (Read the full thread at oscommerce):
In this tread about changing the code
$nhours = round($nseconds / 3600) * (($ndays > 1) ? $ndays : 1); // One hour has 3600 seconds
$nseconds = $nseconds % 3600;
$nminutes = round($nseconds / 60); // One minute has 60 seconds....
|
|
Posted 15 December 2009, 09:40
Hi Jack,
Trouble still...
I update the file but it still doesn't work...
Started by proimage on
, 18 posts
by 6 people.
Answer Snippets (Read the full thread at oscommerce):
In this tread about changing the code
$nhours = round($nseconds / 3600) * (($ndays > 1) ? $ndays : 1); // One hour has 3600 seconds
$nseconds = $nseconds % 3600;
$nminutes = round($nseconds / 60); // One minute has 60 seconds....
|
Ask your Facebook Friends
|
On Wed, 08 Jul 2009 08:53:39 -0400, Scott Coffey <none@noemail.com.invalid
I'm working on a timecard application. The employee can clock in/out
up to four times a day. I need to express the total daily hours as a
decimal number such as 9.70 hours...
Started by Scott Coffey on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at omgili):
J2Sec( nJulian )
nHours := nSeconds / 3600
set( _SET_DECIMALS, nDecimals )
return nHours J2HoursDec( nJulian )
local nSeconds, nHours
local nDecimals := set( _SET_DECIMALS, 2 )
nSeconds.
|