Woocommerce hide add to cart based on given hours and days

Job ID: 32801920

Budget: $10 – $50 USD

Hello

I need the code which allows me to hide the Add to cart button from the product page for a specified category during given days and hours.

It must also display a message on the product page only.

I already paid the current existing plugins for this and are not working for my needs so I need a custom solution.
Related categories: PHP JavaScript WordPress CSS WooCommerce