zartzar Posted June 24, 2010 Share Posted June 24, 2010 I was thinking 3 drop down boxes for the date (obviously d,m,y) and two drop down boxes for the time (24h). How would i then i turn the 3 variables for the date into one DATE data type? Likewise how would i turn the two variable for time into a TIME datatype? Quote Link to comment https://forums.phpfreaks.com/topic/205801-whats-the-best-way-to-ask-users-for-the-date-and-time/ Share on other sites More sharing options...
trq Posted June 24, 2010 Share Posted June 24, 2010 I always use jQuery's date picker now days (http://docs.jquery.com/UI/API/1.8/Datepicker). You can have it return whatever format you need. Quote Link to comment https://forums.phpfreaks.com/topic/205801-whats-the-best-way-to-ask-users-for-the-date-and-time/#findComment-1076939 Share on other sites More sharing options...
zartzar Posted June 25, 2010 Author Share Posted June 25, 2010 I always use jQuery's date picker now days (http://docs.jquery.com/UI/API/1.8/Datepicker). You can have it return whatever format you need. That looks really neat, but i have to do this in php. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/205801-whats-the-best-way-to-ask-users-for-the-date-and-time/#findComment-1076956 Share on other sites More sharing options...
trq Posted June 25, 2010 Share Posted June 25, 2010 Your using a form right? Thats not php. Quote Link to comment https://forums.phpfreaks.com/topic/205801-whats-the-best-way-to-ask-users-for-the-date-and-time/#findComment-1076968 Share on other sites More sharing options...
zartzar Posted June 25, 2010 Author Share Posted June 25, 2010 Your using a form right? Thats not php. ok well, php to handle my xhtml forms Quote Link to comment https://forums.phpfreaks.com/topic/205801-whats-the-best-way-to-ask-users-for-the-date-and-time/#findComment-1076977 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.