[plt-scheme] Examples using date?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue May 1 17:25:32 EDT 2007

SpinyNorman skrev:
> 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.

http://schemecookbook.org/Cookbook/TimeToday

-- 
Jens Axel Søgaard



Posted on the users mailing list.