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

Reply via email to