date time generator
change encode