how to add fixed amount of minutes, to hours.
I need to add a fixed amount of minutes, to an attribute columm, that contains hours.
So if my hour attribute contains 12:00 for instance, it should contain 12:15 after the operation, in case I want to add 15 minutes.
Thanks a lot.
JEdward RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 578 Unicorn
There's an operator called 'Adjust Date' which is very simple to configure.
Select the attribute you want to adjust, select the unit you want to add(or subtract) in this case minutes, next type in the adjustment value.
For more complex calculations or to convert your hour column if it is stored as nominal then the Generate Attribute operator is your friend. Here you can type something like:
This will convert your nominal value into a date add 15 minutes and then convert it back into a nominal value.4
I ve got ¨PROBLEM OCCURRED¨ with Adjust Date operator related with the value type of my HOUR att.
But I could make it with generate att n the proposed expression:
Thanks JEdward for your help.