Added date formatting

I have created this pull request that should satisfy issue #121.