Fixed bug with incorrect setting date from keybord
Added methof for parse time