Docs /Reference

Dates, Durations & Units

How the platform handles day/week/month/year throughout forms and computations.

Dates, Durations & Units

The platform uses dates and time-based units in many places — stage durations, task offsets, task frequencies, maintenance intervals, health follow-ups. This guide is the reference for how they all work.

The four duration units

Wherever you set a duration or interval, the unit picker has the same four options:

UnitEquivalent in days
day1
week7
month30 (calendar-relative)
year365 (calendar-relative)

Calendar-relative means: "1 month from March 31" is April 30, not "April 31."

Where units appear

SurfaceUnit field nameUsed for
Entity stagesDuration UnitLength of the stage.
Entity task templatesOffset UnitWhen during the stage a task starts/ends.
Entity task templatesFrequency UnitHow often the task repeats within its window.
Maintenance schedulesInterval UnitHow often a maintenance recurs.
Health remindersFollow-up UnitWhen the follow-up is due.
Season formExpected harvest dateComputed from stage durations + start date.

How the platform computes dates

Given a season starting 2026-05-16 and an entity with two stages:

StageOrderDurationUnit
Land Prep114day
Planting22week

The platform converts everything to days, lays them out, and computes:

  • Land Prep: 2026-05-16 → 2026-05-29 (14 days).
  • Planting: 2026-05-30 → 2026-06-12 (14 days = 2 weeks).
  • Season total: 28 days.

Task offsets inside each stage are relative to the start of that stage, not the start of the season:

  • A task with Start Offset = 7, Unit = day in the Planting stage is due on 2026-06-05 (day 7 of planting), not day 7 of the season.

Recurring tasks

A recurring task template uses three pieces:

  • Start Offset — when it first fires.
  • End Offset — when it stops firing (or last fires).
  • Frequency + Frequency Unit — the interval between fires.

The platform expands these into discrete tasks at season creation. See How to Manage an Entity for full details and examples.

Date formats

The platform displays dates per your account preference:

  • YYYY-MM-DD (default) — 2026-05-16.
  • DD/MM/YYYY — 16/05/2026.
  • MM/DD/YYYY — 05/16/2026.

Set yours under Account Settings → Display Preferences.

Times are displayed in your time zone (also set in Account Settings). Records are stored in UTC internally, so a transaction logged at 7 PM in Nairobi reads as 7 PM Nairobi for everyone in Nairobi, and 12 PM London for everyone in London.

Time zones gotcha

For multi-region operations:

  • Dates (no time) don't shift. A harvest date 2026-05-16 stays 2026-05-16 everywhere.
  • Timestamps (date + time) convert to each user's time zone. An event logged at 2026-05-16 22:00 Nairobi shows as 2026-05-16 19:00 UTC and 2026-05-16 14:00 Chicago.

If your operation crosses time zones (e.g. corporate office vs. farm site), use the farm's time zone as your default and verify timestamps when reviewing.

Date pickers

Most date fields show a calendar widget when clicked:

  • Today is highlighted.
  • Min/max constraints disable invalid dates (e.g. season end can't be before start).
  • Some fields support typing the date directly (YYYY-MM-DD).
  • Some support shortcuts: t for today, +7 for a week out (where enabled).

Common pitfalls

Wrong unit on a stage

Duration = 2, Unit = week is 14 days. Duration = 14, Unit = day is also 14 days. They're equivalent — but if you intended 2 days and picked week by accident, you've shifted the whole season by 12 days. Double-check.

End offset before start offset

The form rejects this with End Offset must be ≥ Start Offset. There's no use case for an end before the start.

Frequency without unit

Frequency requires a unit. The form makes Frequency Unit required when Frequency is set.

Month math

A month here means 30 days, not "the same calendar day next month." For most agricultural use that's fine. If you need precise calendar-month math (rent due on the 1st), use date-based maintenance schedules or recurring tasks anchored to a date.

Backdated season

You can create a season with a start date in the past. The platform will compute all the stages and tasks as usual — including tasks already overdue if their offset falls before today. Useful for retroactively logging a season that's been running offline.

Tips

  • Standardize stage durations in days unless you have a strong reason to use weeks or months. Days are unambiguous.
  • For maintenance, hours (engine hour-meter) is more accurate than days for heavily-used equipment. The form supports it.
  • When unsure, prefer fewer, longer task templates over many short ones. A Weekly inspection from day 0 to day 90 is one template generating 13 tasks; defining 13 separate one-off templates is the same outcome but harder to maintain.

See also