Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: javascript DateDiff

  1. #1
    Join Date
    Jan 2007
    Posts
    20

    Default javascript DateDiff

    Hi,

    does anyone know, how to use dateDiff in Kettle 3? I coud'nt get it working. A small sample whould be usefull.

    Thx,
    Markus

  2. #2
    DEinspanjer Guest

    Default

    In the tree menu on the left of the JS step window:
    1. Expand Transform Functions
    2. Expand Date Functions
    3. Right click dateDiff
    4. Select Sample
    When finished studying the sample:
    1. Click the X on the sample tab dateDiff_Sample
    2. Answer Yes to the question Do you really want to delete dateDiff_Sample

  3. #3
    Join Date
    Jan 2007
    Posts
    20

    Default

    Thx, I did'nt know the trick with samples. It is working now...

  4. #4
    Join Date
    Mar 2011
    Posts
    19

    Default

    oh - I didn't know about that either! That makes like much easier

  5. #5

    Default

    Hey DEinspanjer, thanks. That sample tip would have saved me lots of time.
    Last edited by Javier_MX; 12-06-2011 at 06:30 PM.

  6. #6

    Default

    Thanks for Sample trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.