The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How can I change the actual day or create a new date for the database?


Hi,
I have an issue with my performance. I have to do a classification to predict which donors will donate.
How can we add/create a new date to say for example that the date of today is 2016-12-31.
I want to do this to be able to use the 'date_diff ' and compute how many days have passed since the last donation and this new date.
Thank you
I have an issue with my performance. I have to do a classification to predict which donors will donate.
How can we add/create a new date to say for example that the date of today is 2016-12-31.
I want to do this to be able to use the 'date_diff ' and compute how many days have passed since the last donation and this new date.
Thank you

Tagged:
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955
Unicorn
Hi,
check out the date_now() function. It returns the current time. There are more time-related functions in Generate Attributes, the documentation is right there in the dialog box.
Regards,
Balázs6
Answers
Thank you for your answer. It solved my problem