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