Based on the day of the week

<script>
var d = new Date();
var n = d.getDay();
n = n > 0 ? n - 1 : 6; // zero is sunday, not monday in javascript
$('.otevírací_doba li').eq(n).addClass('today');
</script>