Re: Strange date behavior
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Chris Capel wrote: > Using PostgreSQL and the C interface, I have defined a view class that > includes a date column (timestamp in my database). When I define its type > as being timestamp or universal-time (which is recommended by the LispWorks > documentation, IIRC) I get back a symbol whose name is the date part of the > time (interned in my package). Is there any way to get back a better time > format? Preferably one of those nice classes in time.lisp like wall-time, > or at least something that includes the time portion of the timestamp. Have you tried using clsql:wall-time as the type in your def-view-class. There's examples of this in the test suite. -- Kevin Rosenberg kevin-HJRc7zDS/[email protected]