The only and yes, the only correct way to store a date and time in a database as a string is in YYMMYYYY format and in UTC. For databases that support is, store the datetime as double. You correct the date and time to your local format o read. Really funny that nobody gave the correct answer....