check file timestamp

Five Stars

check file timestamp

Hi,
I want to check file timestamp using tFileProperties.
tFileProperties--->if (file timestamp is Today ) ---> next action
How do I setting in if setting?
Thanks.

Miki
                                 
Five Stars

Re: check file timestamp

You have to do it using tMap, tFileProperty has a date in long format 

Convert long data type to date using TalendDate routine. 
Use this date in expression for comparison 
Then output required columns to, output flow. 

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads