Making DateTime example work