What is the use of a timestamp in a digital signature?

A timestamp in a digital signature is used to provide proof of the time that a document or message was signed, and helps to prevent later denial of the signature.