pub fn dt_to_sec(val: &Option<i64>) -> Option<i64>
This function computes the duration (in seconds) of the given daytime-interval.