REM: Created birthday and anniversary specific functions

Then uses them in the yearly file
This commit is contained in:
Jonathan Hodgson 2020-11-19 14:38:44 +00:00
parent fc5a8cfe4f
commit 7294d0fc2f
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# Function to calculate how many years since a date # Function to calculate how many years since a date
# Useful for birthdays, anniversaries etc. # Useful for birthdays, anniversaries etc.
FSET years(y) ($Uy-y) FSET years(y) ($Uy-y)
FSET birthyear(y) ("(" + years(y) + " Years Old)")
FSET marriageyear(y) ("(" + ord(years(y)) + " Anniversary)")