Now includes datetime coding.