date components 2 date before validation only if they are present