dtaddsec
Syntax:
Value
Integer
dtmonthdays
(
DateTime
dt1)
Description:
Returns the number of days in the month of
dt1
.
Examples:
($a1:$a5) = dtmonthdays(dtaddmonths("Jun 28, 2008", $b))
Before:
A
B
C
1
0
2
1
3
2
4
3
5
5
6
After:
A
B
C
1
30
0
2
31
1
3
31
2
4
30
3
5
30
5
6
($a1) = dtmonthdays(dtnow())