Ability to specify date format on input

Closes #16 
Just to clarify, let's have only `D` and `DD`, where the last one produces numbers like `003`