Below code will convert DD/MM/YYYY to MM/DD/YYYY date format. if(MethodName == "SETDATE") { var LICENSEDATE = Inputs.GetProperty("DATEin"); var length = LICENSEDATE.length; // Length Count ...