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.
Split date_time
Good evening community!
Ive got a dataset whith the column date which has the format: date_time like Jan 30, 2017 12:01:31 AM CET.
Id like to extract only the date and put it into the format: "dd.mm.yyyy". Therefore, i used generate attribute with funcion date_str_custom(date, "dd.mm.yyyy").
It seems that it works like it should, but rapidminer changes Jan 30, 2017 into 30.02.2017. Any idea?
Thank you in advance!
Best regards
Kevin
0
Answers
I am not sure about the problem you are reporting. Perhaps you want to post a data sample and a process file for troubleshooting?
In the meantime, the following function (used in Generate Attributes) should actually give you the date format you want:
date_str(YourDateAttributeName,DATE_MEDIUM,DATE_SHOW_DATE_ONLY)
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
I think it might simply be lack of capitals. mm in this string represents minutes.
Try dd.MM.yyyy
Yes, you need to do MM in capital letters.