I am able to run a script that will calculate the time spent onsite using the datetime field for our service in and out times. The issue is the script stops (error) when it encounters a datetime field with no time in it (working on making sure that doesn't happen). I am wondering if there is a quick python addition I can add that when it encounters a datetime field with no time, it will skip over that record and keep running through the records. The records are a large amount and this is getting time consuming to keep starting the script at the next record after it error'd out on a record with no time in the field. I've attached a screenshot of an example.