Qmail
[Top] [All Lists]

Re: tai64n date format

To: qmail@list.cr.yp.to
Subject: Re: tai64n date format
From: "Matthew R. Dempsky" <mrd@alkemio.org>
Date: Sun, 1 Apr 2007 13:12:50 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <a3bd4fe00704011052n1132c340k1320805947292f73@mail.gmail.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <a3bd4fe00704011052n1132c340k1320805947292f73@mail.gmail.com>
On Sun, Apr 01, 2007 at 01:52:22PM -0400, Vahid Moghaddasi wrote:
> Is there a way to find out a given date and time e.g. 2007-04-01
> 13:40:46.790878500 in TAI format? This date in TAI is:
> "@40000000460feea82f23d924" in qmail/current file.

You can pipe the files through tai64nlocal.  E.g.,

$ echo @40000000460feea82f23d924 log data | tai64nlocal                    
2007-04-01 12:40:23.790878500 log data

<Prev in Thread] Current Thread [Next in Thread>