Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Sep 16, 2013 11:59 AM UTC

produces the wrong answer of 30 .... should be 31 what other do I have to check........

Translate
Inspiring
Sep 16, 2013 12:35 PM UTC

We're in September currently right? Which has... 30 days!

There is a syntax error in that code though, line 14. Plus... why does this example rely on form fields? Why not just use now()?

Translate
Participating Frequently
Sep 16, 2013 12:50 PM UTC

As this page is just for the Month function, why convolute it with IsDefined, CreateDate, DateFormat, DayofWeekAsString, DayOfWeek, Day, MonthAsString, DaysInMonth, Week, Year, DayofYear, DaysinYear, IsLeapYear?!

Translate