docs/api/exposed-kotlin-datetime/org.jetbrains.exposed.v1.datetime/date.html
fun Table.date(name: String): Column<LocalDate>
A date column to store a date.
name
The column name
@JvmName(name = "LocalDateDateExt")
fun <T : LocalDate?> Expression<T>.date(): Function<LocalDate>
Returns the date from this date expression.
@JvmName(name = "LocalDateTimeDateExt")
fun <T : LocalDateTime?> Expression<T>.date(): Function<LocalDate>
Returns the date from this datetime expression.
@JvmName(name = "XInstantDateExt")
fun <T : Instant?> Expression<T>.date(): Function<LocalDate>
Returns the date from this timestamp expression.
@JvmName(name = "OffsetDateTimeDateExt")
fun <T : OffsetDateTime?> Expression<T>.date(): Function<LocalDate>
Returns the date from this timestampWithTimeZone expression.
@JvmName(name = "InstantDateExt")
fun <T : Instant?> Expression<T>.date(): Function<LocalDate>
Deprecated due to usage of old kotlinx.datetime.Instant. The change caused by deprecation of Instant in the kotlinx.datetime (see more on https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant)
date
Content copied to clipboard
Returns the date from this timestamp expression.
Generated by Dokka © 2026 Copyright