From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 7E494BC0A for ; Sun, 21 Jan 2007 03:42:56 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0L2guLH005898 for ; Sun, 21 Jan 2007 03:42:56 +0100 Received: by nf-out-0910.google.com with SMTP id m18so163350nfc for ; Sat, 20 Jan 2007 18:42:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R3O7tdFvgKZ8E8HuFqQIC1+D7nRuAEN4EJWY4xwAVMf9dUlMTGTLzcNxHg8CUwjVTf0Y70q+kt+mv8fmXGekY+EBh8ZPOLoyRrjisikbUaCY9JP9nEw9rZ/1La0LQaIv1U+B1eJMNM6Q23Eg4jM0dJTR3V4YydCb+bV/a38t2zE= Received: by 10.82.183.19 with SMTP id g19mr2000495buf.1169347373487; Sat, 20 Jan 2007 18:42:53 -0800 (PST) Received: by 10.78.100.6 with HTTP; Sat, 20 Jan 2007 18:42:53 -0800 (PST) Message-ID: <6dbd4d000701201842h5130b540x97648a3d2d058e6e@mail.gmail.com> Date: Sat, 20 Jan 2007 21:42:53 -0500 From: "Denis Bueno" To: "OCaml Mailing List" Subject: Time stamp module floating around? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 45B2D330.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45B2D330.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; foo:01 module:03 module:03 unit:03 unit:03 stamp:06 file:08 file:08 generating:09 i'm:09 i'm:09 similar:11 bit:11 print:13 but:14 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. -Denis