As Scott said
<@SECSTOTIME is a 24 hour time within a day.
Now
<@SECSTOTS will handle larger seconds because it can handle day and hours

This code:
<@SECSTOTIME SECS="115000">
<br>
<@SECSTOTS SECS="115000">

Yields:
Invalid parameter ! 
01/02/1970 07:56:40

You will probably need to create code that will convert the seconds into
total hours
Like 115000 / 3600 = 31 + hours

Ben Johansen

-----Original Message-----
From: MJPinckard [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 5:39 PM
To: Witango
Subject: Witango-Talk: max seconds in SECSTOTIME tag

What is the maximum value that can be entered as seconds in a 
<@SECSTOTIME> conversion?

I'm getting an "Invalid Parameter!" comment on a conversion I'm trying 
and believe it is due to a limit issue. The code is fine on smaller 
values but chokes on larger values... my data is not continuous, so it 
isn't easy to identify the choke point.

If I know the maximum, I can write an IF block to control the output 
(e.g. print "greater than XX hours" rather than "Invalid parameter!")

Thanks,

Maggie Pinckard
Principle Research Associate
Lawrence Berkeley National Laboratory
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to