Re: Algorithm for "1st Tuesday", "last Saturday", etc.




mcalhoun@xxxxxxx wrote:
> Can someone point me to an algorithm that, given a speific month and year,
> can convert "dates" such as "1st Tuesday", "last Saturday", etc. to actual
> numeric dates.

Anyone looking at this problem should be aware that 1900 was not
bissextile.

Dave Flower

.



Relevant Pages

  • Re: Use of static ?
    ... If you want to change the algorithm ... you would have to check every single source code file whether it ... accesses that array or not. ... Prev by Date: ...
    (comp.lang.c)
  • Re: collatz proof algorithm reveals e
    ... I do this to maintain the loop ... invariants of the algorithm so although this call to collatz may seem ... Prev by Date: ...
    (sci.math)
  • Re: Looking for a good number theory book with lots of theorems.
    ... I think this is very nice book especially for those who have a good computer science background (who of course did study a course in analysis and design of algorithm) ... but my advice this the book you should look for. ... Prev by Date: ...
    (sci.math)
  • Re: Printf problem with big numbers....
    ... But I changed my algorithm, and now work directly in base 2, and ... instead of printing the results in base 10 or base 2, ... strings, and not with numbers, so it is ok. ... Prev by Date: ...
    (comp.lang.c)
  • Re: compute the order of orbit
    ... "Elegance is an algorithm" ... Iain M. Banks, _The Algebraist_ ... Prev by Date: ...
    (sci.math)