DAYS Difference Keyword

How does DAY Difference kwyword work.

I want to take a trade of monthend expiry options on first Friday of the expiry.

any suggestions.

I have used day difference > 30 but it is not working.