[Chicken-users] Current date time?

2009-05-28 Thread Matt Gushee
Hi everyone-- I thought I would create a simple logging facility, and, well of course every good log entry needs a timestamp ... so I searched for a function to get the current date and/or time, and it doesn't seem to exist. Can that be true? -- Matt Gushee : Bantam - lightweight file

Re: [Chicken-users] Current date time?

2009-05-28 Thread Mario Domenech Goulart
Hi Matt On Thu, 28 May 2009 07:32:04 -0600 Matt Gushee m...@gushee.net wrote: I thought I would create a simple logging facility, and, well of course every good log entry needs a timestamp ... so I searched for a function to get the current date and/or time, and it doesn't seem to exist. Can

Re: [Chicken-users] Current date time?

2009-05-28 Thread Jim Ursetto
On Thu, May 28, 2009 at 8:57 AM, Mario Domenech Goulart mario.goul...@gmail.com wrote: On Thu, 28 May 2009 07:32:04 -0600 Matt Gushee m...@gushee.net wrote: I thought I would create a simple logging facility, and, well of course every good log entry needs a timestamp ... so I searched for a

Re: [Chicken-users] Current date time?

2009-05-28 Thread Matt Gushee
Mario Domenech Goulart wrote: course every good log entry needs a timestamp ... so I searched for a function to get the current date and/or time, and it doesn't seem to exist. Can that be true? Take a look at http://chicken.wiki.br/man/4/Unit%20posix#date-and-time-routines Example: csi

Re: [Chicken-users] Current date time?

2009-05-28 Thread Matt Gushee
Matt Gushee wrote: But where is current-seconds defined? I expected to find it in the posix unit, but if it is there, it is missing from the current (4.0) manual. Okay, I found it. I have to say the name 'current-seconds', though technically accurate, is a bit unintuitive. Might it not be