[plt-scheme] Examples using date?

From: SpinyNorman (jmcaxolotl at gmail.com)
Date: Tue May 1 17:23:11 EDT 2007

I get, via the HelpDesk, that seconds->date returns me a date struct,
which includes various fields, some of which look like what I'm after
(day of week, etc.).  The doc appears to assume that it's obvious to
the reader what syntax is used to refer to these fields; alas I have
no clue.  If I have a date, how do I get at date->week-day, for
example?  Apparently there are getter methods associated w/any struct,
but I'm not sure what they are.

-jmc



Posted on the users mailing list.