bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New MILLISECONDS “special” variable?


From: Chet Ramey
Subject: Re: New MILLISECONDS “special” variable?
Date: Thu, 2 Nov 2017 20:43:48 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/2/17 4:09 PM, DJ Mills wrote:
> 
> 
> On Thu, Nov 2, 2017 at 3:35 PM, Chet Ramey <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     There is a special builtin in the devel branch version (EPOCHREALTIME) 
> that
>     gives you the epoch time with microsecond resolution. It will be in the
>     next release.
> 
> 
> Out of curiosity, is that functionality going to extend to printf '%(fmt)T'
> ? A %N or
> so would be lovely

It depends on what strftime(3) provides; the T format just passes what's
between the parens to strftime().

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]