How can I change the actual day or create a new date for the database?
Samira_123
New Altair Community Member
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
0
Best Answer
-
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ázs1
Answers
-
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ázs1 -
Good afternoon Balazs,
Thank you for your answer. It solved my problem
2