Date missing minutes/seconds

NateMail, ProcessForm, JavaScript Form Validator, Form Security, etc.
Posts: 1
Joined: 01/17/2010 @ 12:12

Date missing minutes/seconds

Postby dhf » 01/17/2010 @ 12:20

Hello :

We have a php form with a the field formatted as:
$creation_date=date("Y-m-d H:i:s");
We pass the variable $creation_date as a hidden field to ProcessForm.php

When the ProcessForm confirmation page displays it only shows the Year,Month,day.

The MYSQL record is formatted as a "timestamp", and it only shows the ymd.
Can you advise on how to get the hour, minutes, seconds ?

Thank you very much.


Return to “Form Processing (NateMail, ProcessForm)”

Who is online

Users browsing this forum: No registered users and 2 guests