<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 19, 2008, at 15:01, Sigrid Keydana wrote:</div><blockquote type="cite"><div>could anyone please give me a starting point how to work with dates in<br>scheme (apart from the PLT scheme reference, where I did not find what I<br>was looking for)?</div></blockquote><br></div><div><div>As John Clements wrote, <font class="Apple-style-span" face="Monaco">srfi-19</font> will help. I found conflicts between PLT dates and <font class="Apple-style-span" face="Monaco">srfi-19</font> dates, so in my code I've been using an <font class="Apple-style-span" face="Monaco">s19:</font> prefix, e.g.:</div><div><br></div><div><font class="Apple-style-span" face="Monaco">#lang scheme</font></div><div><font class="Apple-style-span" face="Monaco">(require (prefix-in s19: (lib "srfi/19.ss")))</font></div><div><font class="Apple-style-span" face="Monaco">(printf "~a: Alles Gute im neuen Jahr!\n"</font></div><div><font class="Apple-style-span" face="Monaco"> (s19:date->string</font></div><div><font class="Apple-style-span" face="Monaco"> (s19:make-date 0 0 0 0 1 1 2009 (* -5 3600))</font></div><div><font class="Apple-style-span" face="Monaco"> "~d.~m.~Y"))</font></div><br></div><div><font class="Apple-style-span" color="#008000">→ 01.01.2009: Alles Gute im neuen Jahr!</font></div><div><font class="Apple-style-span" color="#008000"><br></font></div></body></html>