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