something stupid... split().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lo all,

echo ConvertTime($AcctSessionTime/90); # Returns: 03:17:46.7666666667

I am trying to drop the .whatever..  Thus,

list($Duration, $none) = split('.', ConvertTime($AcctSessionTime/90), 2);


However, $Duration is empty, and $none has the whole string from ConvertTime.... As I said, something silly ;)


Thanks for the help.

--
Chris.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux