Comment On Thirty Days Hath September ...

Thirty Days Hath September, April, June, and November.All the rest have thirty-one,... yadda yadda something about February [expand full text]
« PrevPage 1Next »

re: Thirty Days Hath September ...

2004-06-25 12:40 • by Dr Pizza
... all the rest, I can't remember.

It's just struck me how bad that font is. 1, l, and i look almost indistinguishable from each other.

re: Thirty Days Hath September ...

2004-06-25 13:14 • by Hassan Voyeau
I could understand if this was used for the month of february, but December?

re: Thirty Days Hath September ...

2004-06-25 13:30 • by David Stone
I have often wondered why Courier New is the default font for VS.NET...it's just plain crappy.

re: Thirty Days Hath September ...

2004-06-25 13:41 • by R. Boeke
Could you perhaps use absolute links for your images? I'm aggregating through rss bandit and need to visit the page to see the images each time.. ;|

re: Thirty Days Hath September ...

2004-06-25 13:42 • by Alex Papadimoulis
Honestly, I swear, I try. The Lousy Bastard builtin text editor changes it to relative. Fixing the post now ....

re: Thirty Days Hath September ...

2004-06-25 13:48 • by Patrick Sullivan
I'm using newsgator and the images show up fine...and actually inside the outlook '03 plugin they don't get blocked at all, somewhat interesting, I suppose that's a hole in the newsgator code.

re: Thirty Days Hath September ...

2004-06-25 14:04 • by Jim Bolla
perhaps the coder was in the middle of refactoring this code so that it could be used for any month instead of just december :) Personally I think having the 12's hardcoded in there is a bigger sin than programmatically figuring out that there are 31 days in the 12th month. and the ugly string concatenation that could've been avoided by using a DateTime value and ToString("MM/dd/yyyy")

re: Thirty Days Hath September ...

2004-06-25 14:27 • by Frans Bouma
"I don't know about you, but that grade school rhyme helps me remember which months have how many days. On the occasion that I don't remember that, I'll consult my wall or desk calendar."
I always learned to remember it via the knuckles on your hand: Start at the right or left, doesn't matter. A knuckle is a month with 31 days, in between knuckles is a month not with 31 days :)

re: Thirty Days Hath September ...

2004-06-25 14:27 • by Nathaniel
...when short February's done. :)

re: Thirty Days Hath September ...

2004-06-25 15:25 • by Matt
Could this be a i18n thing? Other calendars with 12 months might have a different number of days. Or not.

re: Thirty Days Hath September ...

2004-06-25 20:08 • by fogelman
CurrentYear.AddYears(1).AddDays(-1) would have done fine on I18N and other funky calendars anyway I think

re: Thirty Days Hath September ...

2004-06-25 23:51 • by hao2lian
Why conform? Every month has 2^(month_number) days in my book. Currently, June will be over for me in 39 days.

re: Thirty Days Hath September ...

2004-06-26 04:20 • by Centaur
What bugs me most here is that "12/" & lastDay & currentYear.Year. This representation for dates has a great potential for i18n bugs. I’d be seriously tempted to test this code in a default non-US English locale (say, Russian with dates as d.MM.yy), my customized settings (Russian but with dates in yyyy-MM-dd), and my “extreme date-formatting testing” settings (dates in yyyy$MM$dd).

And, this developer is being inconsistent; if 12th month can contain !=31 days, a year can contain !=12 months.

Re: Thirty Days Hath September ...

2006-09-11 11:06 • by chrisg67

Thirty days hath September (except in 1752) the last day of which was the 30th, but according to cal (on most UN*X systems) September 1752 has 19 days 1,2,14,15,16, ...

Interesting how dates are handled by most systems - especially the GetFileTime() and GetSystemTime() under windows dev

I mean the description of FILETIME is WTF to me (64 bit value representing number of 100-nanosecond intervals since Jan 1 1601). Does anyone know of a file created pre 1920?

 

 

Re: Thirty Days Hath September ...

2006-09-11 11:19 • by dcturner
Presumably this breaks if the locale is set up to expect dates in DD/MM/YYYY format? Or perhaps it does some heuristics to notice that 12/31 cannot be the 12th of 31ember.

Re: Thirty Days Hath September ...

2006-10-06 13:44 • by anonymous
I know this is an old story, but the author might have had localization in mind. Not all calendars have 31 days in the 12th month (and some have more than 12 months). We assume Gregorian in the US, but Windows developers may need to support other calendar formats (yes, people really have other calendars besides Gregorian!). Of course, a programmer with localization in mind should probably NOT have hard-coded the date separator and format into the control...

Re: Thirty Days Hath September ...

2006-11-04 17:30 • by ranthoron

Hmmm....

Never heared of using you knuckles to figure out the length of the months?

Index finger knuckle - January

Pit - February

Middle finger knuckle - March

...

Little finger knuckle - July

(go back or use other Hand)

Next knuckle - August... You get the Idea.
 

Re: Thirty Days Hath September ...

2008-05-28 14:21 • by Christian Rosjat (unregistered)
That might actually be clever, because the so called fiscal year in Germany has 360(12x30) days.

Re: Thirty Days Hath September ...

2011-01-23 22:40 • by cindy (unregistered)
find for all kinds of watches and handbags .
A Lange & Sohne watches
Audemars Piguet watches
Ulysse Nardin watches
Vacheron Constantin watches
Michele Watches
Ebel watches
And so on

http://www.replica038.com

Re: Thirty Days Hath September ...

2013-03-07 07:29 • by Isikyus (unregistered)
...except for February alone,
and that has twenty-eight days clear,
or twenty-nine in each leap year.

Captcha: bene (good_)
« PrevPage 1Next »

Add Comment