>>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@...