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);?
Log in to post a comment.