List:General Discussion« Previous MessageNext Message »
From:Wieland Gmeiner Date:May 13 2008 7:48am
Subject:Re: inserting client time instead of server time
View as plain text  
On Tue, May 13, 2008 at 8:25 AM, Sebastian Mendel
<lists@stripped> wrote:
>  is there a way or a function like NOW() except it returns the client time
> and not the server time?

On Linux you could do something like:

mysql -e "insert into tablex (..., clientside_timestamp, ...) values
(..., '$(date +"%F %H:%M:%S")', ...)" dbname


Regards,
Wieland
Thread
inserting client time instead of server timeSebastian Mendel13 May
  • Re: inserting client time instead of server timeWieland Gmeiner13 May
  • Re: inserting client time instead of server timeRob Wultsch14 May