Which of the following is NOT a reason the number of years in the DATEDIFF function would be inaccurate?

A) The function does not calculate fractions of a year
B) The function does not take into account leap years
C) The function rounds one year to 360 days
D) The function calculates the interval from Dec. 2006 to Jan. 2007 as one year

C

Computer Science & Information Technology

You might also like to view...

The item marked 2 in the accompanying figure is used for ____.

A. static objects B. animations within a movie C. dynamic objects D. interactivity

Computer Science & Information Technology

What is the result of the following code? Assume the Form contains a MainMenu con- trol, with a MenuItem named mnuitmColor. Also assume the Form contains a Label called lblMystery.

 private void mnuitmColor_Click( object sender, System.EventArgs e )
 {
 ColorDialog dlgColorDialog = new ColorDialog();
 DialogResult result;

 dlgColorDialog.FullOpen = true;

 result = dlgColorDialog.ShowDialog();

 if ( result == DialogResult.Cancel )
 {
 return;
 }

1 lblMystery.BackColor = dlgColorDialog.Color;

 } // end method mnuitmColor_Click

Computer Science & Information Technology