Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the number of days from the source date to the given date.

Namespace

datetime

Input

first date(date), second date(date)

Output

days between source and given date (long)

Example

If sourcedate contains the date 1958–08–18 and givendate contains the date 2008–08–18, then the two following functions are equivalent, and return the long value 18263

...