Implemented header date validation