RE: [PHP] Server date and time

2002-09-10 Thread Richard Black
Hi Christian, PHP code runs on the server, so any of the date/time functions which the language provides will give you the date/time on the server, rather than the client. HTH, Richy == Richard Black Senior Developer, DataVisibility Ltd -

Re: [PHP] Server date and time

2002-09-10 Thread Adam Williams
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

Re: [PHP] Server date and time

2002-09-10 Thread timo stamm
Hi Christian, Assuming that you use MySQL: Read up 6.2.2.2 The DATETIME, DATE, and TIMESTAMP Types in the MySQL manual. Hint: Add a column to hold the timestamps. Timo Am Dienstag den, 10. September 2002, um 18:08, schrieb Christian Ista: When a use insert the row in a table, I'd like to