discrete attribute that indicates the age

heheehehee Member Posts: 4 Newbie

My query is ..
How can I get to the following:

"Generate a new discrete attribute that indicates the age of the
people as of August 8, 1934 "

The above, taking into account that:

DOB are represented in the table as:

August 18, 1990

Help pls

Best Answers

  • Options
    heheehehee Member Posts: 4 Newbie
    Solution Accepted

    Through where can I make the conversion? :cc


  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi @hehee,

    the Generate Attributes operator can help you here. It allows you to create new attributes using formulas and functions (similar to programming languages or Excel).

    Check out the conversion and the date functions there.
    For converting other representations into dates, or generating the comparison date (1934-08-08) you could use the date_parse or date_parse_custom functions.
    For comparing dates and timestamps there is date_diff.

Sign In or Register to comment.