Convert interval to be a relative date format string.