<?php echo date("N") - 1 < 1 ? 7 : date("N") - 1;
You have javascript disabled. You will not be able to edit any code.