docs/api/exposed-kotlin-datetime/org.jetbrains.exposed.v1.datetime/hour.html
@JvmName(name = "LocalDateHourExt")
fun <T : LocalDate?> Expression<T>.hour(): Function<Int>
Returns the hour from this date expression, as an integer between 0 and 23 inclusive.
@JvmName(name = "LocalDateTimeHourExt")
fun <T : LocalDateTime?> Expression<T>.hour(): Function<Int>
Returns the hour from this datetime expression, as an integer between 0 and 23 inclusive.
@JvmName(name = "InstantHourExt")
fun <T : Instant?> Expression<T>.hour(): Function<Int>
Returns the hour from this timestamp expression, as an integer between 0 and 23 inclusive.
@JvmName(name = "OffsetDateTimeHourExt")
fun <T : OffsetDateTime?> Expression<T>.hour(): Function<Int>
Returns the hour from this timestampWithTimeZone expression, as an integer between 0 and 23 inclusive.
@JvmName(name = "XInstantHourExt")
fun <T : Instant?> Expression<T>.hour(): Function<Int>
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)
hour
Content copied to clipboard
Returns the hour from this timestamp expression, as an integer between 0 and 23 inclusive.
Generated by Dokka © 2026 Copyright