eines Tages

Etymology
Genitive of used adverbially (so called adverbial genitive).

Adverb

 * 1) one day, someday