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

 DESCRIPTION

 C_EDAYS() returns the elapsed days between two given dates.

 NOTES

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

 SYNTAX

 C_EDAYS(date1, date2)

 PARAMETERS

 date1 (D/C) is the first date to determine the elapsed days.  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 days.  The
 date2 argument may be specified as either a date variable or a
 character string ("DD/MM/YY").

 RETURNS

 C_EDAYS() returns the number of days between the two dates.

 EXAMPLES

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

 ? c_edays("4/30/90","5/1/90") --> 1
 ? c_edays("6/1/90","7/1/90")  --> 30

 && 1 year difference, note that the order makes no difference.
 ? c_edays(date1,date2)        --> 365
 ? c_edays(date2,date1)        --> 365
 ? c_edays("1/1/92","1/1/93")  --> 366      && Leap year (one extra day)


See Also: C_EMONTHS() C_EYEARS()

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