Which function calculates the difference between two dates?

2024

Which function calculates the difference between two dates?

Answer: B. Date DiffThe function used to calculate the difference between two dates is typically named Date Diff. It computes the interval in days, months, or years between a…

  1. A.

    Date Add

  2. B.

    Date Diff

  3. C.

    Date Sub

  4. D.

    Add Date

Attempted by 1952 students.

Show answer & explanation

Correct answer: B

The function used to calculate the difference between two dates is typically named Date Diff.

It computes the interval in days, months, or years between a start date and an end date.

Other functions like Date Add modify a single date by adding time intervals.

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…