Update Date Field after sent email

Update Date Field after sent email

I have created a send email form, which works fine but I need to update a date field to show when the email was sent and am having a hard time with the script