Time

@JvmName(name = "LocalDateTimeFunction")
fun <T : LocalDate?> Time(expr: Expression<T>): Function<LocalTime>

Represents an SQL function that extracts the time part from a given date expr.


@JvmName(name = "LocalDateTimeTimeFunction")
fun <T : LocalDateTime?> Time(expr: Expression<T>): Function<LocalTime>

Represents an SQL function that extracts the time part from a given datetime expr.


@JvmName(name = "InstantTimeFunction")
fun <T : Instant?> Time(expr: Expression<T>): Function<LocalTime>


@JvmName(name = "OffsetDateTimeTimeFunction")
fun <T : OffsetDateTime?> Time(expr: Expression<T>): Function<LocalTime>

Represents an SQL function that extracts the time part from a given timestampWithTimeZone expr.


@JvmName(name = "XInstantTimeFunction")
fun <T : Instant?> Time(expr: Expression<T>): Function<LocalTime>

Deprecated

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)

Replace with

Time

Represents an SQL function that extracts the time part from a given timestamp expr.