I am looking to store a best before date for a food product in a MySQL database.
Currently I am storing it as text from an input box.
When viewing the food product on a webpage it will need to display the best before date in a format that the user can relate to. (mm/dd/yyyy or dd/mm/yyyy etc.)
Has anyone stored future dates in their database before? Looking for the best way to do this.
Using PHP too.