Ability to specify date format on input

Closes #16