DatePropertySpec

Represents a date property specification in a Notion database. This property allows users to store and manage dates and date ranges.

Date properties support:

  • Single dates with optional time

  • Date ranges (start and end dates)

  • Time zone support

  • Relative date references (e.g., "today", "next week")

  • Date formatting options

Date properties can be used for:

  • Event scheduling

  • Deadline tracking

  • Time-based filtering and sorting

  • Date calculations in formulas

  • Calendar views

See also

Properties

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.