Finding the most RECENT date?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Finding the most RECENT date? 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
thenoodler
 
Posts: 2
Joined: Fri Mar 29, 2024 1:27 pm

Re: Finding the most RECENT date? 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.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Finding the most RECENT date? 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!
thenoodler
 
Posts: 2
Joined: Fri Mar 29, 2024 1:27 pm


Return to Support

cron