prorm API Reference
    Preparing search index...

    Function currentTimestamp

    • Current timestamp (ANSI-standard spelling where available), dialect-appropriate.

      • mysql/mariadb/postgres/cockroachdb/redshift/db2: CURRENT_TIMESTAMP
      • mssql: CURRENT_TIMESTAMP (ANSI synonym for GETDATE())
      • oracle: CURRENT_TIMESTAMP (session-timezone-aware; distinct from SYSTIMESTAMP)
      • sqlite: CURRENT_TIMESTAMP (SQLite keyword, UTC)
      • snowflake: CURRENT_TIMESTAMP()
      • clickhouse: now() (no distinct CURRENT_TIMESTAMP; now() is the canonical form)

      Parameters

      Returns DateTimeExpression