title: How to change the value of a variable once per day in Java/javascript
body: <p>I'm trying to make an application/script for my school which displays the day's schedule. The catch with this is that my school runs on an 8 day cycle, so that complicates things. I have a a variable called <em> cycleDay </em>, but how would I go about updating this just once per day, and not more than that? If there's another way you can think of doing this, please let me know. </p>
  
  <p>Thanks!</p>