Re: [Vserver] time in guest vserver

From: Michael S. Zick <mszick_at_morethan.org>
Date: Tue 01 Aug 2006 - 12:07:50 BST
Message-Id: <200608010607.50847.mszick@morethan.org>

On Tue August 1 2006 05:29, Jonathan Dray wrote:
> I have a correct output with the date function inside guests :
> mardi 2006, 12:07:14 (UTC+0200)
>
> But time only give me 0 :
>
> real 0m0.000s
> user 0m0.000s
> sys 0m0.000s
>
> Is this normal ?
>
Yes

> The problem is that the php time() function takes the results of the system
> time call.
>
try: date

> And I need the time() value to synchronise database values.
> Is there any way to have the correct time ?
>
The date-time value would probably be better than using
the elapsed time of a process.

Mike
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Aug 1 12:08:15 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 01 Aug 2006 - 12:08:21 BST by hypermail 2.1.8