Skip to contents

Create a GEDCOM Gregorian Date object

Usage

DateGregorian(
  year = integer(0),
  month = integer(0),
  day = integer(0),
  bce = FALSE
)

Arguments

year

The year given as an integer (greater than 0).

month

The month of the year given as an integer between 1 and 12.

day

The day of the month given as an integer between 1 and 31.

bce

Whether the date is Before the Common Era. This is FALSE by default, but if TRUE, only the year should be given.

Value

An S7 object representing a GEDCOM Gregorian Date.