Matthew,
Did you timezone use daylight saving in 1996?
Oh, right.
I need UTC date and time; I assumed it is UTC since I passed #f for dst?
and 0 for time-zone-offset in (date). I missed the local-time? flag in
date->seconds, which is true by default.
So the corrected version of my code
(date->seconds (date 59 47 2 31 3 1996 0 0 #f 0) #f)
works fine.
Thank you for such a fast response.
Best regards,
Dmitry
--
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.