Well basically I'm now working on contact form, and I need to add two dates types. User can specify which date they will use in a profile, and then it uses if statement to show exact date type (American or European) in form. That is easy, I can do it with if statement, but next is saving date type to database. Well basically my database table is timestamp, and saving European time is easy, but how about American time? Well basically, in my form for american time there is a hours ( 1 - 12 ), minutes ( 1 - 60) and period ( AM and PM ), well basically 3 select inputs, so any ideas, how could I convert them to 24 hour time and then save to database as European date?
Have done already everything with European date, now only American time left.
Hope you understood what I ment.