[gambit-list] Getting parts of time

Mikael mikael.rcv at gmail.com
Thu Jan 5 07:39:50 EST 2012


There's a boost date time ffi, it does this, let me know if interested.

2012/1/1 Vijay Mathew <mathew.vijay at gmail.com>

> How can I get the various parts of a time object? I mean something like:
>
>    > (time-hour (current-time))
>    5
>    > (time-year (current-time))
>    2012
>
> Thanks,
>
> --Vijay
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20120105/96ff7798/attachment.htm>


More information about the Gambit-list mailing list