Duplicate
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Neil PNeil PPriority
NewNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Neil P
Neil PPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 30 January 2024 at 11:51
Updated 31 January 2024 at 06:35
Resolved 31 January 2024 at 06:35
now().diff(datePart="s", date1=now());
Returns the error: missing required argument [date2] for member function call [diff]
However date2 isn’t an expected parameter according to the docs https://docs.lucee.org/reference/objects/datetime/diff.html
The documentation is correct. I’ve provided two dates.