Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function daysin() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION DAYSIN()

  Short:
  ------
  DAYSIN() Calculates number of days in a month

  Returns:
  --------
  <nDays> => days in month of target date

  Syntax:
  -------
  DAYSIN(dTarget)

  Description:
  ------------
  Returns # of days in month in which <dTarget> falls

  Examples:
  ---------
   dDate    := ctod("10/15/89")

   nDimonth := DAYSIN(dDate)  // (returns 31)

  Source:
  -------
  S_DAYSIN.PRG


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