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

Help with Nominal to Date please.

prdprd Member Posts: 2 Contributor I
edited October 2019 in Help
I'm importing a .csv file with a load of dates in it format is something like (01/01/2012 00:12, so dd/mm/yyyy hh:mm), and I want to find the time difference between certain dates. What I'm trying to do is use Nominal to Date to change the entries to date format, then use Generate Attribute and date_diff() to get the difference between the dates. The problem is when I use Nominal to Date it makes the month for every single month to be January, and hence gives wrong results when I get the difference between the dates. Just wondering how I can overcome this, can't figure it out. Thanks.
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    month format is defined in capital letters, so it would be dd/MM/yyyy hh:mm in your case ;)

    Regards,
    Marco
  • prdprd Member Posts: 2 Contributor I
    Working properly now. Thank you, really appreciate it.
Sign In or Register to comment.