Unpublish content automatically Hi I want to know if there's a way to unpublish content(nodes) automatically based on a field date previously created.

I want that task to be automatically based on the current date.

Example:

The user already has a content with that field called "Deadline" filled with 20/01/2015 so, for now that content should be passed to unpublished.

If I can do it through some hook let me know to insert in my costume module, thx so much

Edit: I can't use the Rules module because whenever I try to add some condition to one Rule one error just pop up, and I can't continue, and I'm not gonna do a CLEAN installation .....
you cane do it by Rules module

please check this article it will help if you are new in rules module