[BUGFIX] date variables

- fix date variables to consist of 2 digits with a leading zero
- fix month to be 01-12