Re: How do I get the local date & time

From: Date: Thu, 04 Jan 2001 22:08:04 +0000
Subject: Re: How do I get the local date & time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32718@lists.php.net to get a copy of this message
Hello Sefton, Thursday, January 04, 2001, 13:49:12 PM, you wrote: S> Hello, S> I have a problem! S> I am trying to print to the browser the current date and time. The problem S> is, I am in New Zealand and the ISP i use is in USA. S> So when the time appears i get.. S> eg: S> Lets say it si 5/1/00 at 10:45am in NZ S> When printed I get 4/1/00 13:45 S> Is there a php command like in javascript to get the date from client S> machine instead of the server? Nope .. the server has no idea about what is going on in the client. If it is that important (and in your situation it does make sense) you can either use a jscript or note the time location difference with the time. -- DSig David Tod Sigafoos mailto:dsig@teleport.com Using 'The Bat' 1.48f ````` ( O O ) _______oOOo__( )__oOOo_______

« previous php.general (#32718) next »