input correct first date