Added date hierarchy creation example to Example18
Fixed bug where user specified date format was ignored
Merge pull request #21 from Scarlethue/master

Fixed bug where user specified date format was ignored