added simple date assert