# timestampLiteral

fun timestampLiteral(value: Instant): LiteralOp<Instant>

Returns the specified value as a timestamp literal.

fun timestampLiteral(value: Instant): LiteralOp<Instant>

### 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

    timestampLiteral(value)

Content copied to clipboard

Returns the specified value as a timestamp literal.