discrete attribute that indicates the age

hehee
hehee New Altair Community Member
edited November 5 in Community Q&A
Hello!

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
Tagged:

Best Answers

  • hehee
    hehee New Altair Community Member
    Answer ✓
    BalazsBarany 

    Through where can I make the conversion? :cc

Answers

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    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.

    Regards,
    Balázs
  • hehee
    hehee New Altair Community Member
    Answer ✓
    BalazsBarany 

    Through where can I make the conversion? :cc