Re: Testing for leap year?

Author: Sytze de Boer

Posted: 2011-04-12 at 17:57:30

Whats wrong with the 15?

It could be any number in a month (but short of 28)

S

On Wed, Apr 13, 2011 at 9:55 AM, MB Software Solutions, LLC <

mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:

> On 4/12/2011 5:53 PM, Sytze de Boer wrote:

> > mdate=CTOD("15/2/2011")

> > ldate=Gomonth(mdate - Day(mdate) + 1, 1) - 1

>

>

> I don't think you meant 15 in your expression above, did you? IAC,

> thanks guys, but out of those 2, I like mine better. :-)

>

> --

> Mike Babcock, MCP

> MB Software Solutions, LLC

> President, Chief Software Architect

> http://mbsoftwaresolutions.com

> http://fabmate.com

> http://twitter.com/mbabcock16

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/BANLkTi=ixzWPGg2jhTYMRhvSMcPy9O2Ccw@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Sytze de Boer