Skip to contents

Create a Gregorian date object.

Usage

gregorian_date(year = integer(), month = integer(), day = integer())

Arguments

year

A numeric vector of years

month

A numeric vector of months

day

A numeric vector of days

Value

A gregorian vector object

Examples

gregorian_date(2025, 4, 19:30)
#> <gregorian[12]>
#>  [1] 2025-Apr-19 2025-Apr-20 2025-Apr-21 2025-Apr-22 2025-Apr-23 2025-Apr-24
#>  [7] 2025-Apr-25 2025-Apr-26 2025-Apr-27 2025-Apr-28 2025-Apr-29 2025-Apr-30