APOLLO-3231 Exposed sql datetime format

Hangover from pre-postgres :), I'll rename