Fixed missing datetime import... Guess I haven't used DateTime fields until now.