### Description

The date_xxx() arguments have been swapped to always have the field parameter last. This has been done to align with other implementations of similar functionality (which users would be accustomed to).
This issue is a reminder to remove this warning once any existing usages have been corrected.

Related: #98624, #99561.
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/date/BinaryDateTimeFunction.java
public ScriptTemplate asScript() {
        throw new UnsupportedOperationException("functions do not support scripting");
    }
    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), zoneId());
    }
    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (super.equals(o) == false) {
            return false;
        }
        BinaryDateTimeFunction that = (BinaryDateTimeFunction) o;
        return zoneId().equals(that.zoneId());
    }
    
    static TypeResolution argumentTypesAreSwapped(DataType left, DataType right, Predicate<DataType> rightTest, String source) {
        if (DataTypes.isDateTime(left) && rightTest.test(right)) {
            return new TypeResolution(format(null, "function definition has been updated, please swap arguments in [{}]", source));
        }
        return TypeResolution.TYPE_RESOLVED;
    }
}