Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>find the last weekday of a month</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Find the last weekday of a month
------------------------------------------------------------------------------

 Syntax

        GT_EndOfMonth( dDate )

 Arguments:

      dDate - Date to be considered

 Returns:

      The last weekday of the month

 Description:

      Calculates the last day of the month, and if that is not a weekday,
      rolls back until it finds a weekday.

 Examples:



 Source: ENDMONTH.PRG

 Author:  Martin Colloby

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