Last updated September 30, 2009. Created by WorldFallz on September 30, 2009.
Log in to edit this page.
You can specify the day and time a block should be shown as follows:
<?php
$time = (int) date('Gi');
return (date('D') == 'Mon' && $time >= 800 && $time <= 1600);
?>This would display the block every Monday between 8am and 5pm. You can adjust the day and time accordingly using any of php's date and time functions.
Based on http://drupal.org/node/320621.