[refs #114] Fixing date creation for python 3 (leading 0 for numbers is not allowed)