MySQL syntax is YYYYMMDDHHMMSS or "YYYY-MM-DD HH:MM:SS"

---John Holmes...

----- Original Message -----
From: "Chuck Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to