Closed aarvid closed 9 years ago
I just tried postmodern and it gets the same results:
CL-USER> (postmodern:query "select current_date")
((3650745600))
1
So it is probably not a problem with cl-dbi. Will look into this some more.
Why don't you use universal-to-timestamp
?
(local-time:universal-to-timestamp 3650745600)
;=> @2015-09-09T09:00:00.000000+09:00
you are right. I noticed that these were seconds and assumed it was unix time. my bad. thanks for the response.
in psql:
I see the same thing when using real columns of the date type in real tables.