#3 dayOf function

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

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);?

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks