Re: Another newbie. Tell me when youre tired..

From: Date: Wed, 05 Jul 2000 13:22:16 +0000
Subject: Re: Another newbie. Tell me when youre tired..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4927@lists.php.net to get a copy of this message
Well, I'm pretty sure there are 18.2 clock ticks per second (correct me if my numbers are off, I was out celebrating a bit much for the 4th :) So you should be able to take that and using various date functions generate a properly formatted date. I'd write some code, but I don't have access to a graphical browser to check the functions on php.net that I would need, and I'm too tired to use Lynx. ----- Original Message ----- From: Joachim Holst (QCS) <Joachim.Holst@ecs.ericsson.se> To: Php-List (E-mail) <php-general@lists.php.net> Sent: Wednesday, July 05, 2000 7:21 AM Subject: [PHP] Another newbie. Tell me when youre tired.. > Hi again ! > > Thanks for the help I recieved in my last letter, but I'm at it again. > I have decided to use another posix function (posix_times() ) to get the > machine's uptime. However, I'm not familiar with the phrase "clock ticks sinse last reboot". > In other words, I don't know how to convert those clock ticks to a proper format. > > I read somewhere that oe can use /proc/uptime for the same purpose, but I'm not > familiar with that format either. > > A tip or two would be appreciated. > > /Jocke! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#4927) next »