The Ouroboros and the Coding of Time