Re: How to get the current date and time in to the input field of a form with running time.

From: Date: Fri, 27 Jul 2001 06:10:49 +0000
Subject: Re: How to get the current date and time in to the input field of a form with running time.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59877@lists.php.net to get a copy of this message
> on 7/26/01 9:55 PM, Balaji Ankem at balaji.ankem@wipro.com wrote: > > Hi, dear friends, > How can i get the current date and time in the following input field. > > <form name="addinv" > > > DATE: <input type="text" name="in_date" value="//Here i want > to get the > current date an time ..time should dynamically change//"> <?php printf("%s",date("M d, Y h:m:s")); ?> > > STATUS: <input type="text" name="in_status" value=""> > <input type="button" Value="ADD" OnClick="check();"> > </form> > > > Thanks in advance. > > Regards > -Balaji -- mike cullerton

« previous php.general (#59877) next »