Understanding milliseconds in a script from a friend.

Does this help you? I have adjusted the formatting.

void loop (){
  for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=1)
  {
    analogWrite(ledPin11, fadeValue);
    delay(7059);
  } //half hour sunrise      
  delay(39600000);// 11 hr day

  //2min cloud cover//
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=1)
  {
    analogWrite(ledPin11, fadeValue);
    delay(470);
  }

Look at the for loop. It loops through 256 times delaying 7059 milliseconds each time. That is 1807104ms = 1807.104s = 30.1184minutes

As for the 11 hour day, 39600000ms = 39600s = 660mins = 11 hours.

And another for loop gives 256*470 = 120320ms = 120.320s ~= 2mins of "cloud"