Is there an easy way to upate a date field with the current date only when the files contents have been changed?

Thanks in advance for your help!

Sydni