There's a boost date time ffi, it does this, let me know if interested.<br><br><div class="gmail_quote">2012/1/1 Vijay Mathew <span dir="ltr"><<a href="mailto:mathew.vijay@gmail.com">mathew.vijay@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How can I get the various parts of a time object? I mean something like:<br>
<br>
    > (time-hour (current-time))<br>
    5<br>
    > (time-year (current-time))<br>
    2012<br>
<br>
Thanks,<br>
<br>
--Vijay<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br>