[futurebasic] Re: [FB] Date to Week FN

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1999 : Group Archive : Group : All Groups

From: Mel & Carol Patrick <mel@...>
Date: Sun, 21 Feb 1999 11:12:23 -0700
>>Anyone got a function that will take a date and return the week of the year
>>it resides in?
>>
>>Mel Patrick
>>mel@...
>
>Try the following code, it uses the DateTimeRec structure. If you know the
>date, then it figures out several things for you, including the day of the
>week. Neat:

[code snip]

Thanks for the routines tedd, what I was looking for was a conversion to
take a date and then return the number of the week (1-52) of the year in
which that date is.

Time to put on my thinking cap...;-) (now where did I leave it)

Mel Patrick
mel@...