Need help with date pattern

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

Moderator: Mr_Noodle

Need help with date pattern Mon Jan 25, 2016 9:29 pm • by Chuggett
Hi

Im creating a rule that looks for a date pattern on a particular re-occurring document.

My first document has the date 4/12/2015. The pattern set up is dd/mm/yyyy.

After many attempts, the rule would not work until i edited the dd variable.

When editing, I was presented with the same number (31) twice. The bottom number had been selected by default however after selecting the first 31 and saving the rule, everything worked as it should.

Image
https://www.dropbox.com/s/dau92tw0tgqyijr/Screenshot%202016-01-26%2019.06.16.png?dl=0

Upon trying to apply the same rule to a second document with the date 16/9/2015, the rule again failed. It was only when i changed the DD variable options to its default (opposing variable), did it work.

Mr Noodle, can you explain what is happening here? Is it because there is no second digit in the DD pattern that affected the first rule?

I hope this makes sense.

Thanks for your help.
Chuggett
 
Posts: 30
Joined: Wed Mar 16, 2011 9:17 pm

Re: Need help with date pattern Tue Jan 26, 2016 12:10 pm • by Mr_Noodle
One of the options is underlined. That one means that it will always be two digits. The other one (not underlined) can be one or two digits.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support