Postgres module

date_from_civil

procedure · 1 overloadsince 0.27.0Source

The date of a proleptic Gregorian calendar day. Year 0 is 1 BC, as in ISO 8601.

date_from_civil :: (year: s64, month: s64, day: s64) -> Date

The date of a proleptic Gregorian calendar day. Year 0 is 1 BC, as in ISO 8601.

Parameters

year: s64
the year; 0 is 1 BC.
month: s64
1 to 12.
day: s64
the day of the month, from 1.

Returns

See also