Hey Guys, i did this custom code:
<script>
var d = new Date();
var n = d.getHours();
$( document ).ready(function() {
if (n > 15) {
$('.TEST').hide();
} else {
$('.TEST').show(); }
});
</script>
What it should do:
If Current time is under 3pm and lower than 10pm, hide div "TEST"
If Current time is more than 10pm and lower than 3pm, show div "TEST"
Pretty simple but i failed…
Any help?