Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Get time a file stays in folder

  1. #1

    Default Get time a file stays in folder

    Hello. Is it possible to get the time info of a file located in a folder. For example How long the file has been staying in this folder (I am looking at the property "Last modified" at the moment)

    By the way, Hello Forum!

  2. #2

    Default

    I haven't tried it, but the 'Text file input' step has an 'Additional output fields' tab, that looks like it will output the modification date to a field or a variable.

  3. #3
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    If the time is needed before the file is processed, there is a function getLastModifiedTime() in the Modified Java Script step, too.
    So long, and thanks for all the fish.

  4. #4

    Default

    Thank You. This is exactly what I needed

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.