Need field for user to enter in just the time [message #444267] |
Fri, 19 February 2010 17:27 |
dlwixon
Messages: 92 Registered: September 2008
|
Member |
|
|
I have a form that the user has to enter a time of an event.
The time entered will most likely be in the past and NOT the current time.
What is the best way to set up a form and a database table for time entry only (exclude the date)?
I have tried datetime on the form with format HH12:MM PM and date on the database.
I have also tried the same with a timestamp on the database.
The time always appears to get entered correctly.
However, the time is always stored as AM regardless of what is specified by the user.
|
|
|
|
|