Re: Server date and time
| From: | Adam Williams | Date: | Tue, 10 Sep 2002 17:37:21 +0000 |
| Subject: | Re: Server date and time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115871@lists.php.net to get a copy of this message | ||
If you are using mysql, you can use the NOW() function to insert the time
into a date field. It will insert the time that is on the server's clock.
Adam
On Tue, 10 Sep 2002, Christian Ista wrote:
> Hello,
>
> When a use insert the row in a table, I'd like to know the date and time
> of this insertion. Is there a function to know the server date and time,
> not the local time user ?
>
> Bye
>
>
>
>