Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfweek()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfWeek()
Return the week position in the year
------------------------------------------------------------------------------
Syntax:

     dfWeek( <dDate> ) --> nWeek

Parameters:

     <dDate>    Date to check

Returns:

     <nWeek>     Week position

Description:

     Use this function to know the week position of a date

Example:

     ? dfWeek( CTOD("01/01/97") ) // Return  1
     ? dfWeek( CTOD("02/01/97") ) // Return  1
     ? dfWeek( CTOD("03/01/97") ) // Return  1
     ? dfWeek( CTOD("04/01/97") ) // Return  1
     ? dfWeek( CTOD("05/01/97") ) // Return  2
     ? dfWeek( CTOD("06/01/97") ) // Return  2

See also:

     dfDay()

See Also: dfDay()

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