Menu

#3 dayOf function

open
nobody
None
5
2010-02-10
2010-02-10
Anonymous
No

sorry, i repost the question in the correct "track"
day dayOf(date d)
{
day x=saturday;
x+=d-date(1,1,2000);
return x;
}

what does exactly this function and what does the line x+=d-date(1,1,2000);

thnx

Discussion


Log in to post a comment.