Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Generate Attribute Quarter from Date
WhiteBeard
Member Posts: 2 Learner I
in Help
Trying to create attribute to have Quarter from a date attribute. Getting Month number using
"date_get([Date Inserted],DATE_UNIT_MONTH,"GMT")+1"
but not able to convert or calculate Quarter.
Thank you.
but not able to convert or calculate Quarter.
Thank you.
Tagged:
0
Best Answer
-
WhiteBeard Member Posts: 2 Learner IFound the solution.
str(floor((date_get([Date Attribute],DATE_UNIT_MONTH,"GMT")/3)+1))
0