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.
how to split date
halaalrobassy
Member Posts: 16 Contributor II
i have date and time attribute, i want to split the date into new column , how can i implement this operation
thank you
thank you
Tagged:
0
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHello @halaalrobassy
Generate attribute with function date_str_custom(date, "dd.MM.yyyy") should work. Replace date with your date attribute name.Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
5
Answers
In this operator you will have quite some options to play with dates, including one to select only part of the date (date_get), just 'overwrite' your current field with the newly generated.
Alternatively you could use the split operator and split on space. However, this would mean you need to convert your date to a nominal first, and afterwards convert to date again so it's a few extra steps compared to the generate operator
also, i used date_str_custom(att,"dd/MM/yyyy") and worked with me