Day of week routine
kar at cs.rit.edu
kar at cs.rit.edu
Sat May 20 02:57:14 AEST 1989
In article <234 at zeek.UUCP> larry at zeek.UUCP (Larry Podmolik) writes:
>I need a C function that, given a date, would return what day of the
>week it fell on. ...
Check out the February 1979 issue of Interface Age (page 75-79).
They give algorithms for all sorts of time/date problems. I used one
to do what you want to do, and needed only the additional knowledge of
today's date and today's day of the week.
Kenneth A. Reek
Rochester Institute of Technology
{harvard,rutgers}!rochester!ritcv!kar
More information about the Comp.lang.c
mailing list