RE: [PHP] Server date and time

From: Date: Tue, 10 Sep 2002 16:16:01 +0000
Subject: RE: [PHP] Server date and time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115862@lists.php.net to get a copy of this message
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 - http://www.datavisibility.com Tel: 0141 951 3481 Email: rblack@datavisibility.co.uk -----Original Message----- From: Christian Ista [mailto:Christian.ista@teledisnet.be] Sent: 10 September 2002 17:08 To: php-general@lists.php.net Subject: [PHP] Server date and time 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#115862) next »