Options

Extract Day of the Week

btibertbtibert Member, University Professor Posts: 146 Guru
Below is how I would extract the hour properly from a Datetime attribute via Generate Attributes.

date_get([Signup Date], DATE_UNIT_HOUR)
I want to extract the day of the week.  For example, Monday, or Friday.  Is this possible?

I could easily do this via Execute python, but that adds a layer of complexity, especially in a teaching context. 


Best Answer

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,509 RM Data Scientist
    Solution Accepted
    Hi,
    date to numerical allows you to do it.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

  • Options
    btibertbtibert Member, University Professor Posts: 146 Guru
    Ahh, I don't think I would have put that together but that now makes sense.  Thanks.
Sign In or Register to comment.