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

  Short:
  ------
  WOYEAR() Calculates week of the year (# of 7 day periods)

  Returns:
  --------
  <nWeek> => week of the year of date

  Syntax:
  -------
  WOYEAR(dDate)

  Description:
  ------------
  Calculates number of 7 day periods passed for the
  year from <dDate>

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

   nWoYear  := WOYEAR(dDate)

   // (returns 40)

  Source:
  -------
  S_WOYEAR.PRG


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