Store neutral date in database

May 26 2009 3:34 AM
Hello all

I am building a website and I want to store the current time in a database, thats not a problem.

But I also want to make the time format changable. For example if I have "May 2 2009" stored in the database and I decide I want to change the format to "5/2/2009", I need to either update the database or use a neutral date format that can be converted to the date format I want.

Any tips on this? I thought about using timestamp, but cant rellay see where it fits in

Thanks

Answers (1)