Hemoglobin A1c (glycated hemoglobin) is the preferred diagnostic test for diabetes mellitus, and should be done regularly in diabetic patients.
Among its advantages over fasting glucose values (or 2-hour glucose values during an oral glucose tolerance test) is that samples can be drawn at any time and need no special handling (whereas ongoing glycolysis can falsely lower glucose values).