At 02:02 PM 11/7/2008, Dennis McGrath wrote:

There is no simple way to handle leap years.


Did you know that you can use the new "Is Leap Year" DATE function to handle such exceptions?

New "ILY" Date function checks to see if the year portion of a given date is a leap year or not.

Example:

SET VARIABLE vIsLeapYear = (ILY(.#DATE))

The function returns a 1 if the year is a leap year, and 0 if it is not a leap year.

Keeping this new R:BASE date function in mind, do what you need to do to achieve your goal.

Very Best R:egards,

Razzak.


Reply via email to