I have been taught regarding warnings relevant to times to closest point of approach (CPA) the following:
TA (traffic advisory) given when intruder is 35-45 seconds from CPA.
RA (resolution advisory) is given if the intruder is within 20-30 seconds of CPA.
Tom.