While this is one way to do it, another even simpler way would be to use Date to Numerical to extract the minute relative to the hour from the original date/time stamp, and then use simple modulus division (dividing by 15) inside Generate Attributes to generate an attribute housing the quarter hour value. If desired then you could use another function to round it the way you want (e.g., round vs floor vs ceiling depending on your desired rounding behavior).

Brian T. Lindon Ventures Data Science Consulting from Certified RapidMiner Experts

## Answers

65Contributor II already used the date to numerical operator (minute relative to day), maybe from this startpoint we can find a solution?

3,524RM Data ScientistHi,

i think you can use Generate Attributes for this. Might be a longer equation wth quite some date_get and date_set involved..

~Martin

Dortmund, Germany

1,635UnicornWhile this is one way to do it, another even simpler way would be to use Date to Numerical to extract the minute relative to the hour from the original date/time stamp, and then use simple modulus division (dividing by 15) inside Generate Attributes to generate an attribute housing the quarter hour value. If desired then you could use another function to round it the way you want (e.g., round vs floor vs ceiling depending on your desired rounding behavior).

Lindon Ventures

Data Science Consulting from Certified RapidMiner Experts