This returns a boolean indicating whether the Day.js object contains a valid date or not. dayjs().isValid()