Testing Date Fields
I have an Access database which contains, a Date field that I need to test
against in order to delete a record.
Yet, when I try something like the following:
(setf FooTestDate (encode-universal-time 0 0 0 4 7 2008 0))
(delete-records :from [FooTable] :where [= [FooDate] FooTestDate])
It closes without incident but it doesn't delete the record. When I read
the value of the Date field it returns something like ("2008-07-04
00:00:00,,0") So I am wondering if the timezone or the daylight savings
time may be the issue.
What am I doing wrong?
--
Thanks,
William