5,421
edits
Changes
m
→Example usage: add example
[[File:DateCalculatorGramplet-addon-example-50.png|right|450px|Date Calculator Gramplet - Example results]]
Assume that a headstone has only a date of death and age at death.
<table><TR><TH colspan="3">RANEY</TH></TR>
<TR><td align=center VALIGN=TOP>
<small>MOTHER</small><br />
<b>Hannah M.</b><br />
Wife of<BR />
William Raney
Died<br />
Nov. 14, 1902<br />
Aged<br />
73Yrs. 4Mo.<br />& 3Ds.<hr width=25 align=center/>
<small>Blessed are the dead<br />who die in the Lord</small></td>
<td align=center>[[file:C051_raney_w_id794872.jpg|right|200px]]<br /><small>Source:</small><br />[https://iowagravestones.org/gs_view.php?id=794874 Iowa Gravestone<br />Photo Project]</td>
<td align=center VALIGN=TOP>
<small>FATHER</small><br /><b>William Raney</b>
Died<br />
Oct. 17, 1892<br />
Aged<br />
71 Yrs 2Mo<br />& 7Ds<hr width=25 align=center/>
<small>I will behold thy face<br />in righteousness I shall<br />be satisfied when<br />I awake with thy likeness</small>
</td></tr></table>
Enter a date in each field in the following format ( YYYY-MM-DD ).
===Expression 1===
Enter s starting date or offset value:
for the wife in the example gravestone, enter 14 Nov 1902
===Expression 2===
an offset tuple is in the form y,m,d<br />
Example for "Aged 73Yrs. 4Mo. & 3Ds.", use "- 73, 4, 3"<br />
Note that only a single leading negative sign is needed to indicate a negative tuple.
===Result===
Pressing the {{man button|Calculate}} button returns 1829-07-11. When storing a date that's been calculated from a reference rather than a historical record, it is hard to be certain what methodology was used. So the results are an estimate. Annotate this by preceding the value with "calc abt"
{{man note|Initially, the Result field will contain the following usage hint:|<pre>Enter an expression in the entries above and click Calculate.
An expression can be:
1. a valid Gramps date
2. a positive or negative number, representing years
3. a positive or negative tuple, representing (years, months, days)
Note that at least one expression must be a date.</pre>}}{{-}}
==See also==