Ability to specify date format on input

Closes #16 
Makes sense. I'll refactor that making `pad` receive the maximum digits the number can have.