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

  Short:
  ------
  WOMONTH() Calculates week of the month (# of 7 day periods)

  Returns:
  --------
  <nWeek> => week of the month

  Syntax:
  -------
  WOMONTH(dDate)

  Description:
  ------------
  Calculates current number of 7 day periods for the
  month from <dDate>

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

   nDom  := WOMONTH(dDate)

   // (returns 3)

  Source:
  -------
  S_WOMON.PRG


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