Skip to main content

Date Field Types

These field types use dataType: 'date'.

Field TypeStored Value
DateCalendar date, returned as YYYY-MM-DD
TimeTime-related value stored in the date category
WeekWeek period value
MonthMonth period value
QuarterQuarter period value
YearYear period value
SummaryDate result when the summary function returns a date
Dynamic FormulaDate-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';