How to Count Time

Hello, I am very new to functions on Smartsheet, and any help will be greatly appreciated. I am trying to create a sheet with times (minutes and seconds) and attempting to implement a function where if a checkbox is checked, it will count the time from the time column. Can you provide guidance on how to achieve this? Thank you!