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. 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch