Help for this page

Select Code to Download


  1. or download this
    $start_minute = int(($start_minute + 7.5)/15)/4;
    
  2. or download this
    $start_minute + 7.5 # add 7.5 mins to number
    /15                 # which quarter is the minute in?
    int()               # ...0,1,2,3 or 4?
    /4                  # to get desired result