Thanks! I didn't know it.
Well my MachineOn,MachineOff,DepartOn,DepartOff are text so, i should put them as String? The DateOn/DateOff are in this format dd/mm/yyy hh:mm:ss, it is a string as well?
I've done in this way, but it stills crash.
Thank you :)