EventDate

An event date as represented in the Family Graph API.

Dates of events and family events, such as birth, death and marriage, are returned in this object.


Fields

The EventDate object contains the following fields:

Name Description Type Access Mode

gedcom

The date of the event encoded in the GEDCOM standard

string

read, write

text

The date of the event, in the current language

string

read

date

YYYY / YYYY-MM / YYYY-MM-DD (ISO 8601)

string

read

structured_date

A structured instance of the date

StructuredDate object: first_date, second_date, type and class_name fields

read, write

class_name

The object class name

string

read

Example

https://familygraph.myheritage.com/event-144530322-1000002?fields=date (open in browser)
{
"date": {
"gedcom": "May 29 1917",
"text": "May 29 1917",
"date": "1917-05-29",
"structured_date": {
"first_date": {
"day": 29,
"month": 5,
"year": 1917,
"type": "exact",
"class_name": "SingleDate"
},
"type": "exact",
"class_name": "StructuredDate"
},
"class_name": "EventDate"
},
"id": "event-144530322-1000002"
}