Versions Compared

Key

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

...

Subtracts one date object from another.

Signature

Date nxa.DiffDate (Date, Date, Unit)

Parameters

NameTypeMandatory/OptionalDescription
 DateMFirst operand.
 DateMSecond operand.
 UnitOSelects the unit for the result. "
y
y "

for years, "
m
m "

for months, "
d
d "

for days, "
h
h "

for hours, "
n
n "

for seconds and "
s
s "

for seconds (optional)

Return

TypeDescription
Datethe result of der opertation.