get_T_unit function

extract Time unit