...
Subtracts one date object from another.
Signature
Date nxa.DiffDate (Date, Date, Unit)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
Date | M | First operand. | |
Date | M | Second operand. | |
Unit | O | Selects the unit for the result. " |
y " |
for years, " |
m " |
for months, " |
d " |
for days, " |
h " |
for hours, " |
n " |
for |
minutes and " |
s " |
for seconds (optional) |
Return
Type | Description |
---|---|
Date | the result of der opertation. |