Ok, reading the docs more carefully, I realized that *seconds->date* takes a boolean and not a time zone offset, but that doesn't explain why *sql-timestamp->srfi-date* is not working properly.

I'm now offsetting the time with

   (seconds->date
        (+ (date*->seconds ts  #f) (* timezone 60 60))
         #f))

which gives me the right time, but in the wrong time zone.

Just how do I offset time zones properly? Do I need to construct the date* piecemeal?

Thanks,
George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to