Maintenance Visit Signature Date

I’ve added a custom form for signature and also signature date (this shows the date and time). I would like to know if there is a way to link the date and time to automatically update so that it selects the current date/time when the signature field is signed by a client?
TIA