Description
Parse ordered validFromDate and validThroughDate and the visitDate as real Gregorian date strings.
Travel dates, ticket changes, and service windows combine calendar labels with operational rules. A date calculation can check supplied boundaries, but it does not establish availability, eligibility, or a provider's current policy.
Parse ordered validFromDate and validThroughDate and the visitDate as real Gregorian date strings.
When to use this tool
Use Museum Ticket Validity Window when you need a date comparison or formatted travel record under the supplied rule.
How to use the tool and how it works
- Enter validFromDate, validThroughDate, visitDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read validOnVisitDate. Inspect validOnVisitDate before interpreting the associated values.
Parse ordered validFromDate and validThroughDate and the visitDate as real Gregorian date strings. Return membership including both validity endpoints.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| validFromDate | Valid From Date | Required. Text; maximum UTF-16 length 8192. |
| validThroughDate | Valid Through Date | Required. Text; maximum UTF-16 length 8192. |
| visitDate | Visit Date | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| validOnVisitDate | Valid On Visit Date | Required. Boolean. |
{
"input": {
"validFromDate": "2026-11-01",
"validThroughDate": "2026-11-03",
"visitDate": "2026-11-03"
},
"output": {
"validOnVisitDate": true
}
} Limitations and assumptions
- This checks supplied dates without time-of-day, timezone, admission conditions, or an actual ticket's policy.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Confirm the booking terms, local date convention, and provider's current availability separately.
References
Similar or alternative tools
- Itinerary Local Date Change
Parse arrivalLocalDate and departureLocalDate as real date labels and subtract their UTC-midnight representations for calendarDateChange.
- Visitor Day Over Night Label
Parse real YYYY-MM-DD arrival and departure dates at UTC midnight, require departure no earlier, and divide their difference by 86400000 for nightCount.