Allow daysinmon() to take a single DATE or DATETIME argument.

This commit is contained in:
Dianne Skoll
2025-07-02 10:14:48 -04:00
parent 1af2bdf8f1
commit 4fd145cf4e
4 changed files with 41 additions and 8 deletions

View File

@@ -1626,6 +1626,18 @@ set b trigdate()
REM MSG trigvalid = [a]; trigdate = [b]
DEBUG +x
set a daysinmon(2, 2000)
set a daysinmon(2, 2001)
set a daysinmon(3, 2000)
set a daysinmon(3, 2001)
set a daysinmon('2000-02-14')
set a daysinmon('2001-02-14')
set a daysinmon('2000-04-14')
set a daysinmon('2001-04-14')
DEBUG -x
# Output expression-node stats
DEBUG +h