Change value order?

User: "eldenoso"
New Altair Community Member
Updated by Jocelyn

Hey altogether,

 

simple problem with hopefully a simple answer. Is there a way (in excel this is quite easy) to change orders withing an example e.g.

12.25.23 to 25.12.23

Thank you for your help.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Edin_Klapic"
    New Altair Community Member
    Accepted Answer

    Hi Philipp,

    Within Generate Attributes everything between double quotes is interpreted as a string. So the function wants to parse the string Day (and not the attribute with the name Day) to a date which creates the error.

    Assuming the value type of Day is nominal the solution would therefore be

    date_str_custom(date_parse_custom(Day,"M/d/yy"),"dd.MM.yy")

     

    Best,

    Edin