Conditional check if Matrix block field is empty (no content)
I'm assuming your matrix field is not called hours? Because in your current code you are handeling it like it is.

I think this should work

   {% for block in entry.matrixfieldHandle %}
       {% if block|length %}
           {{block.days}} - {{block.time}}
       {% else %}
           &lt;p&gt;Do something else&lt;/p&gt;
       {% endif% }
    {% endfor %}


In your code you want to loop over all the different entries (blocks) within the matrix. If you want to add other types you can easely check for hours like so:

{% if block.type == "hours" %}
   do stuff
{% elseif block.type == "anotherblocktype" %}
   ...


However. Since you only use one type of content I'm not sure if a matrix is the best solution. You could easely put this in a table or supertable . 

Then you could just do

{% for row in entry.tableHandle %}
   {% if row|length %}
       {{row.text}}
   {% else % }
       &lt;p&gt;Fallback&lt;/p&gt;
{% endif %}


Another option is to check this little plugin: Store hours