![](https://secure.gravatar.com/avatar/f6a35c85d26694e26bb92ea4d4262c77.jpg?s=120&d=mm&r=g)
2 Apr
2010
2 Apr
'10
12:15 p.m.
Hey Daniel,
DB> (make-date nil nil nil) #<DATE 30-03-2010> DB> (day-of-week *) 1
I was puzzled for a bit because make-date isn't in the simple-date library. But it did indeed contain that bug -- it always returned the correct answer minus one. That goes to show that in all these years, no one has actually used that function. I've pushed a fix to the (new, git) repository, but if you want a more well-designed and well-tested date library, I'd suggest local-time [1], the latest release even has cl-postgres glue included (src/integration/cl-postgres.lisp). Best, Marijn [1]: http://common-lisp.net/project/local-time/