Options

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

  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,993 RM Engineering
    Hi,

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

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