Man can see the combination to safes on his wrist

Movie or TV show, saw it in the early 2000s, but it could be from earlier. There was a man who could see the combinations to safes on his wrist, written in numbers like on a digital clock, in red. The only scene I remember is where the someone visits the man after he has been in a prison cell for a while. The man had been cutting into his wrist, trying to see the numbers again (apparently someone had turned off his powers?)