The year you've been together or are celebrating something when it matches the date :
You were first published on July 31, 1977. July 31 of 2008 is 31 years later - this is your golden anniversary of being a published author.