Versions Compared

Key

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

Returns a date object by adding an integer to a baseline date. The integer can be negative to return a date that is earlier than the baseline date.

Namespace

datetime

Input

number (long), [baseline date(date)]

Output

date (date)

Example

If offset contains the integer 18250, and basedate contains the date 1958–08–18, then the three following functions are equivalent, and return the date 2008–08–05

...