code style improvements
fixed an error where dateformat could not be parsed as numbers where not always two digits