After not getting what I wanted (I got epoch seconds reflecting an 
interpretation of my input as Local Time), I got what I wanted (epoch seconds 
interpreting my input as UTC), but now that it is working, using date* vs. 
date, I'm not sure why, when I vary inputs, I see no change in the output.

(define d1 (date* 0 51 14 22 9 2016 0 0 #f 0 0 "GMT"))
(date*->seconds d1)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d2 (date* 0 51 14 22 9 2016 0 0 #f 0 0 "UTC"))
(date*->seconds d2)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d3 (date* 0 51 14 22 9 2016 0 0 #f 0 0 "PartyTime!"))
(date*->seconds d3)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d4 (date* 0 51 14 22 9 2016 0 0 #f -14400 0 "You have a standard 
galactic week to respond. Sorry."))
(date*->seconds d4)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d5 (date* 0 51 14 22 9 2016 0 0 #f 14400 0 "Time is relative. --AE"))
(date*->seconds d5)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d6 (date* 0 51 14 22 9 2016 0 0 #t -14400 0 "You can have anything you 
want, at Alice's Restaurant."))
(date*->seconds d6)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

(define d7 (date* 0 51 14 22 9 2016 0 0 #t 0 0 "sigh"))
(date*->seconds d7)
; 1474570260 which is Thu, 22 Sep 2016 18:51:00 GMT per 
http://www.epochconverter.com/

-- 
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