Re: [Vserver] time in guest vserver

From: Jonathan Dray <jonathan.dray_at_gmail.com>
Date: Tue 01 Aug 2006 - 14:23:53 BST
Message-ID: <5e1b46ec0608010623q4083547fl40af7c098fc29cc3@mail.gmail.com>

thanks for the hint !
I used date("Y-m-d H:i:s") which worked as expected ^^
once again for the quick reply.

2006/8/1, Michael S. Zick <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
>

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Aug 1 14:24:46 2006

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