• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Month

Explorer ,
Sep 16, 2013 Sep 16, 2013

Copy link to clipboard

Copied

This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6dcf.html

Views

601

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2013 Sep 16, 2013

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 16, 2013 Sep 16, 2013

Copy link to clipboard

Copied

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()?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 16, 2013 Sep 16, 2013

Copy link to clipboard

Copied

LATEST

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?!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation