get_time_resolution function

Return the time resolution of a datetime sequence