An example CiviCRM module to set a custom field with the first join date of any membership