Getting Time From A User
Posted: Sat Dec 24, 2005 9:41 am
Hi all..
I'm working with a form where I'm getting a time from a user. Right now it's a drop down form, with values between 9:00am and 9:00pm, in 15 min increments.
As I'm moving to the part where I'm inserting this bit of data into MySQL.. I'm finding that it's not the best data format.. Can anyone make a suggestion as to an elegant solution for getting a time from a user, in a format that's easily workable with the databse..
Thanks to all the suggestions so far.. The input has made learning php much easier.
Thanks
David
I'm working with a form where I'm getting a time from a user. Right now it's a drop down form, with values between 9:00am and 9:00pm, in 15 min increments.
As I'm moving to the part where I'm inserting this bit of data into MySQL.. I'm finding that it's not the best data format.. Can anyone make a suggestion as to an elegant solution for getting a time from a user, in a format that's easily workable with the databse..
Thanks to all the suggestions so far.. The input has made learning php much easier.
Thanks
David