<[email protected]> wrote: > In my experience they are always ignored. > > http://stackoverflow.com/questions/12023846/trying-to- > create-a-date-from-a-string-in-racket-find-seconds-very- > slow-week-d/12047232#12047232
Thanks Greg, Much appreciated Happy Hannuka/Merry Christmas to everybody. Stephen On Tue Dec 23 2014 at 12:40:55 Greg Hendershott <[email protected]> wrote: > In my experience they are always ignored. > > http://stackoverflow.com/questions/12023846/trying-to- > create-a-date-from-a-string-in-racket-find-seconds-very- > slow-week-d/12047232#12047232 > > On Tue, Dec 23, 2014 at 5:34 AM, Stephen De Gabrielle > <[email protected]> wrote: > > Hi, > > Is the version of make-date that doesn't require calculating the week-day > > and year-day? > > > > (struct date (second minute hour day month year week-day year-day dst? > > time-zone-offset)) > > > > It looks like I can put any old value in the week-day and year-day > fields, > > but I'm nervous about this. > > > >> (define d (make-date 0 0 0 1 1 2015 0 40 #f 0)) > >> d > > (date 0 0 0 1 1 2015 0 40 #f 0) > >> (date->string d) > > "Sunday, January 1st, 2015" > >> > > > > Thanks, > > > > Stephen > > > > ____________________ > > Racket Users list: > > http://lists.racket-lang.org/users > > >
____________________ Racket Users list: http://lists.racket-lang.org/users

