Help with Nominal to Date please.

prd
prd New Altair Community Member
edited November 5 in Community Q&A
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.

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

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

    Regards,
    Marco
  • prd
    prd New Altair Community Member
    Working properly now. Thank you, really appreciate it.