Hitachi Vantara Pentaho Community Wiki
Access Keys:
Skip to content (Access Key - 0)




Changes the date format used by a date attribute. This is most useful for converting to a format with less precision, for example, from an absolute date to day of year, etc. This changes the format string, and changes the date values to those that would be parsed by the new format.


The table below describes the options available for ChangeDateFormat.

Option Description
attributeIndex Sets which attribute to process. This attribute must be of type date ("first" and "last" are valid values)
dateFormat The date format to change to. This should be a format understood by Java's SimpleDateFormat class.


The table below describes the capabilites of ChangeDateFormat.

Capability Supported
Class Numeric class, Empty nominal class, No class, Relational class, Unary class, Missing class values, Date class, String class, Binary class, Nominal class
Attributes Relational attributes, Missing values, Unary attributes, Nominal attributes, Numeric attributes, Empty nominal attributes, Date attributes, String attributes, Binary attributes
Min # of instances 0

This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder Powered by Atlassian Confluence