Thanks all, EPOCHREALTIME sounds perfect. I’m also glad to have learned about loadable modules. Really cool.
Alan On Thu, Nov 2, 2017 at 5:43 PM, Chet Ramey <chet.ra...@case.edu> wrote: > On 11/2/17 4:09 PM, DJ Mills wrote: > > > > > > On Thu, Nov 2, 2017 at 3:35 PM, Chet Ramey <chet.ra...@case.edu > > <mailto:chet.ra...@case.edu>> 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 c...@case.edu http://cnswww.cns.cwru.edu/~ > chet/ >