Date Field Types
These field types use dataType: 'date'.
| Field Type | Stored Value |
|---|---|
| Date | Calendar date, returned as YYYY-MM-DD |
| Time | Time-related value stored in the date category |
| Week | Week period value |
| Month | Month period value |
| Quarter | Quarter period value |
| Year | Year period value |
| Summary | Date result when the summary function returns a date |
| Dynamic Formula | Date-like result when the formula result type is date, time, week, month, quarter, or year |
When a script receives a date field from the Studio SDK, treat it as a string and compare it consistently.
const dueDate = String(record.data.due_date || '');
const isToday = dueDate === '2026-06-18';