View Single Post
Old 02-20-2002, 11:48 PM
Ted On The NeT Ted On The NeT is offline
Senior Member
Join Date: Apr 2001
Posts: 2,182
Default DateToWeek function?

hi guys,

anybody here who knows how to recalculate a date back to a weeknumber? I wrote a function, but it does not work with 53 weeks in a year.

My week starts at sunday (DayOfWeek function). 53 weeks occur with intervals of 5 and 6 years. as far as I know these weeks make januari 1st on thursday or friday.

Can anybody help me with this? I need a GOOD working DateToWeek function.

gr. Ted

PS: i could paste my code if there are people willing to help.

::TeD On The NeT::

=[ QUESTIONS ]=========================================
don't forget to accept this reply if it helped you!
================================================== =====

=[ EXTRA INFO ]========================================
Location : Netherlands (GMT +01.00)
Languages : English, Dutch, German
Age : 25
ICQ : Be smart and figure out what my UIN is...
================================================== =====
Reply With Quote