Move dt_start_of_xxx() and dt_end_of_xxx() to separate source file