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_infy()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_INFY()


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


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


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


Returns:       A numeric value with 2 decimal places.


Usage:         In calculations involving dates.


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


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


Language:      Clipper

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

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