Use database date format
Merge pull request #2 from mfenner/master

Use database date format