Page 1 of 1

Finding the most RECENT date?

PostPosted: Fri Mar 29, 2024 1:32 pm
by thenoodler
I have a hazel folder that I drop scanned medical bills into. I have some rules that have specific providers and my family members’ names in there, and pdfs pop out renamed like {yyyy-mm-dd} - Medical Expense - {Family Member Name} - {Provider Name} - UNSUBMITTED.

This works perfectly fine most of the time. HOWEVER, some of my bills have people’s dates of birth on them. If they are first on the bill, that is the date Hazel picks.

What I would like is a rule that detects the most recent date. Of all the dates on the document, select the one that is latest in time. Does anyone know any way to do that?

Image

https://imgur.com/gJx1bNi

Re: Finding the most RECENT date?

PostPosted: Mon Apr 01, 2024 9:32 am
by Mr_Noodle
No way to do that. You will need to either be more specific in your pattern, or specify which occurrence it is positionally.

Re: Finding the most RECENT date?

PostPosted: Mon Apr 01, 2024 2:26 pm
by thenoodler
Shoot, that is what I was afraid of. Let me see what I can come up with. Thank you!