RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

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 Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,938   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.