Re: Time Stamp
| From: | 1LT John W. Holmes | Date: | Wed, 18 Sep 2002 15:38:33 +0000 |
| Subject: | Re: Time Stamp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116751@lists.php.net to get a copy of this message | ||
MySQL syntax is YYYYMMDDHHMMSS or "YYYY-MM-DD HH:MM:SS"
---John Holmes...
----- Original Message -----
From: "Chuck Payne" <payne@magidesign.com>
To: <php-general@lists.php.net>
Sent: Wednesday, September 18, 2002 11:25 AM
Subject: [PHP] Time Stamp
> Hi,
>
> I have a form that I am using to update a mysql table but I can get
> timestamp to update. How can I pass that information to pass on. I have
> "READ" all books and feel I have correct systax but it just not working...
>
> <input type="text" name="lastupdate" value="<? echo
> date('D M d, Y
H:i:s',
> time()); ?>">
>
> This should pass the time right?
>
> Chuck Payne
> Magi Design and Support
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>