Citation::getDate - jcobban/Genealogy GitHub Wiki

Citation::getDate

Up: class Citation

This method returns an instance of class LegacyDate containing the date that this Citation was entered. The fields 'enteredd' and 'enteredsd' provide access to this date in internal formats.

    $citdate           = $citation->getDate();

Next: $citation->set($fieldname, $value)