Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2002 Bug

Status
Not open for further replies.

mar10

Programmer
Sep 18, 2001
26
0
0
NL
Hi Folks

I have an application which calculates values per day by getting the day of week value.

Now, in the year 2002, it seems that this value is lowered by 1, is this possible ?

 
Can you give a code snippet and describe what it ought to do?
 
I already fixed it.

The trouble was that I calculated the day by doing mod 7,

this only works for years which are starting on a monday.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top