20 Dec
2002
20 Dec
'02
1:58 a.m.
On 19 Dec 2002, Peter Simons wrote: (snip)
datatype. It appears that in order to construct one of those, I need _all_ the information it contains, including the weekday (Day) and the number of the day in the year.
The problem now is that I do not have this information! Of course I could calculate these values by hand, but this is immensely complicated. (snip) Any suggestions what I could do?
I have some calendar calculation code in Haskell from which I could easily generate code to calculate the weekday (Day) and the number of the day in the year, if it turns out you do end up needing it. -- Mark