Function for reformatting SQLite timestamps.
Proper date formatting.