AnsweredAssumed Answered

Does anyone have details for how to use @timf in piconfig?

Question asked by bclake Champion on Aug 5, 2015
Latest reply on Aug 6, 2015 by mgeerling

Couple of request for either information or tips on piconfig. 

I can't find any details on the @timeformat option. I see that if I add a @timf 9,T then I get the time zone.  But can I actually format the time?  I don't see any difference between @timf 9 and @timf <any other #>.

The only thing I found in the manual was:

TimformatDig,TZ5,FTime format. Number of decimals on subsecond timestamps and whether or not to include time-zone indication.

And I really can't tell what the first number does.


I have a simple script:


@table piarc

@mode list

@timf 9,T

@sigd 9

@istru tag, starttime, endtime

@ostru tag, time, value

@ostru ...

@echo none

@output testfile.txt

sinusoid, y-3d,t




And I want my time to look like: yyyy-MM-ddTHH:mm:ss (e.g. “2015-08-04T14:00:00”)

Instead of 4-Aug-15 14:00:00 PDT