Having some problems getting a time inserted correctly into mySQL

Basically, user needs to input time as "1:22 PM" or "1:22 AM".

#CreateODBCTime(form.value#) isn't the answer

Regardless of what I've tried so far though, I can't get the AM/PM to 
take. This value does need to be stored as a time value, because it's 
sorted at some point. Entering "1:22 PM" or "1:22 AM" gets saved as 
"1:22 AM".

The field in mySQL is currently set to "time".

I've obviously not had enough coffee yet today and missed too much sleep 
last night. What did I overlook?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242151
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to