Ok I am planning on creating a new feature for my site, an Event Planner.
Basically the concept is users can add an event and specify starting and ending dates and times. For storage purposes and so that I can work with the date and times (not display events that have ended, etc.) what would be the best way to do this? Perhaps just use the date and custom field to store the times since I really won't need to search by time?? hmmm
I know MySQL has date/time but is that easy to work with? Would I be better using the date function and perhaps separately create a simple INT type row to store the times such as 00 for midnight 01, etc... I'm sure I can figure something out but it's nice knowing you guys know more than me and can tell me what is the best way so I can save some headaches and some time.
Use the date/time data type or something else? Really the only thing I'll be doing with the dates is to allow people to search for events during certain time periods that they specify and of course I don't want to show events on my front page that have already ended.
Thanks!
Chris