Hi Snvlsfoal,
You probably won't want to do this via field coding - which is what's required for a formula. See:
Date and Time Calculations in a Table and
Add Or Subtract Two Time Periods in my
Microsoft Word Date Calculation Tutorial:
https://www.msofficeforums.com/word/...-tutorial.html. Do read the document's introductory material.