A neural clockwork for encoding circadian time.