It is best to diagnose rheumatoid arthritis within the first 6 to 12 months of the onset of symptoms.