Sample: Filter Code to Calculate the Duration of a new Google Calendar Event