Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_iny()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_INY()


Syntax:        L_INY(<expD1>,<expD2>)


Purpose:       To determine the difference, in whole years, between
               two dates.


Arguments:     <expD1> and <expD2> are two dates. They can be
               specified either lowest or highest date first.


Returns:       A positive integer or zero


Usage:         In calculations involving dates.


Examples:      dt_1 = CTOD("01/05/89")
               dt_2 = CTOD("30/04/90")
               ? L_INY(dt_1,dt_2)               && Result: 0

               dt_2 = CTOD("01/05/90")
               ? L_INY(dt_1,dt_2)  && Result: 1


Language:      Clipper

See Also: L_INYM() L_INYMD() L_INFY() L_INMTHS() L_INWKS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson