Exposure to high or low glucose levels accelerates the appearance of markers of endothelial cell senescence and induces dysregulation of nitric oxide synthase.