Compare creation dates of two files

Post Reply
RunDontStop
Member
Posts: 23
Joined: Mon Apr 05, 2021 8:03 pm

Compare creation dates of two files

Post by RunDontStop » Wed Oct 20, 2021 5:25 pm

I have two files in a flow. Switch can determine the creation dates for both files.

I want to know if the creation dates are more than 30 days apart.

Is there a way to do this?

jan_suhr
Advanced member
Posts: 464
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Compare creation dates of two files

Post by jan_suhr » Thu Oct 21, 2021 7:49 am

A new version of the App Date Calculator will give you the Unix timestamp and from that value you can use Switch Calculations to compare two .

The version 6 of Date Calculator will be published on the Enfocus App Store in the coming days.

https://www.enfocus.com/en/appstore/pro ... calculator
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

jan_suhr
Advanced member
Posts: 464
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Compare creation dates of two files

Post by jan_suhr » Thu Oct 21, 2021 3:58 pm

Version 6 is now published with the new option that you can use to solve your problem.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

RunDontStop
Member
Posts: 23
Joined: Mon Apr 05, 2021 8:03 pm

Re: Compare creation dates of two files

Post by RunDontStop » Fri Oct 22, 2021 1:51 am

Thank you Jan this is a great help.

ToAnt
Newbie
Posts: 1
Joined: Tue Jul 06, 2021 10:54 am

Re: Compare creation dates of two files

Post by ToAnt » Fri Dec 03, 2021 11:42 am

Can the app also compare 2 dates? Ex. If date1 X days earlier then date2 , go to ...

Thx
Tom

jan_suhr
Advanced member
Posts: 464
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Compare creation dates of two files

Post by jan_suhr » Fri Dec 03, 2021 12:07 pm

ToAnt wrote:
Fri Dec 03, 2021 11:42 am
Can the app also compare 2 dates? Ex. If date1 X days earlier then date2 , go to ...

Thx
Tom
No such function but you can do it in Switch in the "Include these jobs" on the outgoing connection from folders.
From the App you will get the TimeStamp as a Private data, this is a numerical value and can easily be compared with another TimeStamp value.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

Post Reply