Notifications
Clear all

[Closed] Compare Modification Dates?

I’m trying to find a way to compare two external files to see if File_A is newer than File_A_Thumbnail.

I’ve found the getFileModDate function, but it returns a string and I’m not entirely sure how to parse that string to compare the two files to see if one is newer than the other.

I’m hoping somebody with a better understanding of parsing strings can help me with this.

Thanks!

–Tom

2 Replies

Hi Tom,

check out this date struct, it should help you with what you’re trying to do.
there are comments in the script, and a sample function that shows some uses of it. if you still need some help, let me know.

cheers,
o

That’s awesome. That really helps me out!
I’ll try and work it into my master script next week.

–Tom