Postgres module

civil_from_date

procedure · 1 overloadsince 0.27.0Source

The year, month and day of a date.

civil_from_date :: (date: Date) -> (year: s64, month: s64, day: s64)

The year, month and day of a date.

Parameters

date: Date
the date, which must not be infinite.

Returns

year: s64
month: s64
day: s64

See also