CLOCK and diabetes mellitus: These data highlight the crucial role of O-GlcNAcylation in circadian clock gene expression and may facilitate the design of targeted therapies for diabetes-associated cognitive impairment.