Setyenv · Docs
  • English
  • Español
  • 中文
  • 日本語
  • العربية
  • Deutsch
  • Français
  • हिन्दी
  • Bahasa Indonesia
  • Italiano
  • Nederlands
  • Português
  • Русский
  • Türkçe

DateTime field

A point-in-time with date and time. Stored as DATETIME in the site's timezone. Best for timestamps, scheduled events, "last seen" and anything where the exact hour/minute matters.

Configuration

SettingDefaultNotes
Requiredno
Default value(none)Can be "now" (dynamic), an offset ("now+2h"), or a fixed datetime
Min datetime(none)
Max datetime(none)
Show secondsnoDisplay granularity; stored precision is always per-second
Indexedno

Form rendering

A native datetime-local picker or a date input + time input combination (configurable). Respects the min/max boundaries.

List rendering

Formatted according to the site locale + configured date/time format. "Jan 15, 2026 14:30" in en_US.

EQL operators supported

:, !=, >=, <=, >, <, is null, is not null. Datetime values in EQL accept ISO-8601 (2026-01-15T14:30:00) and MySQL datetime format (2026-01-15 14:30:00).