I want my users to be able to specify their chosen date format, ie dd/mm/yyyy or yyyy/mm/dd etc etc... But i obviously have to store it in the database all in the same format. I noticed the phpbb stores all its dates as unix time stamps is this the best way?
If so I can convert from a unit time stamp fine, and I can even convet yyyy/mm/dd to a unix time stamp so thats fine.
But then I though what happens if my user has their date as "Mon 13 Feb, 2004 10:31am"
Is there an easy of converting one format to another so I could simply say
Code: Select all