Skip to main content
Scalar function
Returns NULL for NULL input.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • Possible values: Sun, Mon, Tue, Wed, Thu, Fri or Sat.
  • NULL behavior: Returns NULL for NULL input.

Properties

Usage notes

  • Timezone-bearing timestamps use their local calendar day; the test maps a UTC Friday to Saturday in Pacific/Auckland.

Examples

Thursday

NULL input

Limitations

  • Use the date/time types listed above. STRING input is outside this form.
Last modified on October 15, 2026