The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Sysntaxis Error on Expression Date_diff and Time_diff

OktiiOktii Member Posts: 4 Contributor I
date_diff(`M1 Inicio`, `M1 Final`, DATE_UNIT_HOUR, "America/Mexico_City")

Best Answer

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    Hi!

    You need to call date_diff like this:

    date_diff([M1 Inicio], [M1 Final], ...)

    The attribute names can't be quoted with the single quotes you're using, only with [].

    You can click attribute names in the list on the right side, they will be inserted correctly by Generate Attributes.

    Regards,
    Balázs

Answers

  • OktiiOktii Member Posts: 4 Contributor I
    I tray differnt formats a on this expession without sucess

  • OktiiOktii Member Posts: 4 Contributor I
    thanks
Sign In or Register to comment.