public static Date strtotime(String input) {
    	if (input.startsWith("[") || input.startsWith("\"")) {
    		input = Functions.substr(input,1);
    	}

    	if (input.endsWith("[") || input.startsWith("\"")) {
    		input = Functions.substr(input,0,-1);
    	}

        for (Matcher matcher : matchers) {
            Date date = matcher.tryConvert(input);

            if (date != null) {
                return date;
            }
        }
        return null;
    }