mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-28 03:47:05 +02:00
Allow daysinmon() to take a single DATE or DATETIME argument.
This commit is contained in:
+3
-1
@@ -3467,8 +3467,10 @@ This function takes a \fBDATE\fR or \fBDATETIME\fR as an argument, and
|
||||
returns an \fBINT\fR that is the day-of-month component of
|
||||
\fIdate\fR.
|
||||
.TP
|
||||
.B daysinmon(i_m, i_y)
|
||||
.B daysinmon(i_m, i_y)\fR or \fB daysinmon(dq_date)\fR
|
||||
Returns the number of days in month \fIm\fR (1-12) of the year \fIy\fR.
|
||||
If given a DATE or DATETIME argument, returns the number of days in
|
||||
the month containing the argument.
|
||||
.TP
|
||||
.B defined(s_var)
|
||||
Returns 1 if the variable named by \fIvar\fR is defined, or 0 if it is not.
|
||||
|
||||
Reference in New Issue
Block a user