Automatically calculates the cycle number for any given school day