Added check valid date. Added constant with version.