Controlling input of date to generate sells