Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 02:55 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.