REM: Created birthday and anniversary specific functions

Then uses them in the yearly file
Jonathan Hodgson 4 years ago
parent dae0d9e86e
commit 951e3adcdf
  1. 2
      remind/.local/share/remind/functions.rem
  2. BIN
      remind/.local/share/remind/yearly.secret.rem

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

Loading…
Cancel
Save