P
Paul Overway
Yes...DateSerial has the purpose of building a date....a VALID date.
February 29 is not a valid date for any year other leap years. So, while
DateSerial's primary purpose is to build a valid date, it has a secondary
purpose of determining whether the date falls in a leap year. It IS
designed to determine whether or not a date falls in a leap year.
In any case, there is a cost to your reasoning. And I say again, you're
goldplating (specifying unneeded functionality or feaures solely for the
sake of appearance). I certainly wouldn't want you working on any project
for me using that reasoning.
February 29 is not a valid date for any year other leap years. So, while
DateSerial's primary purpose is to build a valid date, it has a secondary
purpose of determining whether the date falls in a leap year. It IS
designed to determine whether or not a date falls in a leap year.
In any case, there is a cost to your reasoning. And I say again, you're
goldplating (specifying unneeded functionality or feaures solely for the
sake of appearance). I certainly wouldn't want you working on any project
for me using that reasoning.