A date at year, month or day precision
Used by the date-range methods that accept more than a bare year. Passing a plain number is equivalent to { year }.
{ year }
query.entryDateBetween({ year: 2023, month: 3 }, { year: 2024, month: 12, day: 31 }); Copy
query.entryDateBetween({ year: 2023, month: 3 }, { year: 2024, month: 12, day: 31 });
Optional
Day of month, 1-31 (ignored unless month is also set)
month
Month, 1-12
Four-digit year (1800-3000)
A date at year, month or day precision
Used by the date-range methods that accept more than a bare year. Passing a plain number is equivalent to
{ year }.Example