The date should be a negative number. That is looking for files that are older than 180 days in the future so naturally all files will be listed. Add a "-" before the number and it will magically work. I imagine that that was a typo in the original article that didn't get caught.
Keep Up with TechRepublic