Qmail
[Top] [All Lists]

Re: tai64n date format

To: qmail@list.cr.yp.to
Subject: Re: tai64n date format
From: "Vahid Moghaddasi" <vahid.moghaddasi@gmail.com>
Date: Sun, 1 Apr 2007 14:37:35 -0400
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rH5Ikk4iAJfV4/BX9MAmeR3RhXmkY13ncjLyjnkM+RCtYF7OkRtXzEMM2MXtmqgd89zzW5d3b1wQkMJsfVMoE6OmRYvCqUo4kMjGxAzSXN/WVfUagMYHcqquLUmUeFmZl1wVuROWjYBTkYZ5MmijnvOp81lqpxefXThUMxDJY+4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TPbqWux5G3VXABFisS48KWyfdp0i9omfrzJ7r9VhYNNFlbEjFMJ9AHBmJ1YRU8gZT53sGVQ01GZr37zOi8MxDHafToj9UfiOUf6a6OS54UzT7xLjD9P8Wkx/+L0qXgDC40IDEHlYpLRCNzIFVqSXEPFiefrosn6zaYWe7cdvZj0=
Domainkey-status: good (test mode)
In-reply-to: <20070401181250.GA11214@odin.dempsky.org>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <a3bd4fe00704011052n1132c340k1320805947292f73@mail.gmail.com> <20070401181250.GA11214@odin.dempsky.org>
On 4/1/07, Matthew R. Dempsky <mrd@alkemio.org> wrote:

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

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

Yes, but I want the other way around, e.g. echo "2007-04-01
12:40:23.790878500" | lacoln46iat (the opposite of tai64nlocal) and
get TAI equivalent of @40000000460feea82f23d924 as the output. I am
only interested in date, hour, minute.
Thanks,

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