novice2004
Programmer
I am trying to add date data to mySQL.
Upon adding info into database User selects start and end day when he wants his article to be visible.
I have to 2 questions:
1) What format should I save my date info in mySQL?
Is mm/dd/YYYY '10/31/2004' a good solution?
Users can do search and display data from certain date to certain date.
How do pros go about it? date >'10/31/2004' and date < '11/31/2004' ?
Any advice would be appreciated.
Thank you.
Upon adding info into database User selects start and end day when he wants his article to be visible.
I have to 2 questions:
1) What format should I save my date info in mySQL?
Is mm/dd/YYYY '10/31/2004' a good solution?
Users can do search and display data from certain date to certain date.
How do pros go about it? date >'10/31/2004' and date < '11/31/2004' ?
Any advice would be appreciated.
Thank you.