Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_emonths() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_EMONTHS()

 DESCRIPTION

 C_EMONTHS() returns the elapsed months between two given dates.

 NOTES

 The elapsed months is always returned as a positive number,
 therefore, the order of the first and second date parameters makes
 no difference.

 SYNTAX

 C_EMONTHS(date1, date2)

 PARAMETERS

 date1 (D/C) is the first date to determine the elapsed months.  The
 date1 argument may be specified as either a date variable or a
 character string ("DD/MM/YY").

 date2 (D/C) is the second date to determine the elapsed months.
 The date2 argument may be specified as either a date variable or a
 character string ("DD/MM/YY").

 RETURNS

 C_EMONTHS() returns the number of months between the two dates.

 EXAMPLES

 date1 = ctod("01/01/90")
 date2 = ctod("01/01/91")

 ? c_emonths("4/1/90","5/1/90")  --> 1     && 1 month
 ? c_emonths("1/1/90","1/31/90") --> 0     && 0 months

 && 12 months, note that the order makes no difference
 ? c_emonths(date1,date2)        --> 12
 ? c_emonths(date2,date1)        --> 12
 ? c_emonths("1/1/90","1/1/95")  --> 60


See Also: C_EDAYS() C_EYEARS()

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