Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Time stamp module floating around?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-21 (02:42)
From: Denis Bueno <dbueno@g...>
Subject: Time stamp module floating around?
I'm looking for simple bit of code that will print human-readable
timestamps. Something suitable for a log file.

I'm generating some logs for unit tests, and I would like the preamble
to a particular unit test's log file to read: '/foo/bar test ran 20
Jan 2007 at 21:41" or something similar.

I could write this module, but I figure there's *got* to be something
out there better than I would make in the time I have.

Thanks in advance.