Next: WFDBWHICH(1) Up: WFDB Applications Guide Previous: WFDBMAP(1) | On This Page |
Using the specified record as a reference for determining the length of a sample interval and the absolute time represented by sample number 0, this program accepts one or more time arguments (in WFDB standard time format) and produces one line on the standard output for each such argument. In each output line, the corresponding time is written as a sample number (in the form snnn), as an elapsed time interval in hours, minutes, and seconds from the beginning of the record (in the form hh:mm:ss.sss), and as an absolute time and date (in the form [hh:mm:ss.sss DD/MM/YYYY]). If the base time for the record is undefined, the absolute time cannot be calculated, and in this case the elapsed time appears (a second time) instead.
Additional -r record arguments may be given in the same command, to reset the sample interval length and base time for any subsequent time arguments.
The command
produces
the output
Note that the input arguments need not be zero-padded, that an input argument in absolute time format must be quoted to protect the brackets from the shell, and that the input argument e is evaluated as the time of the last sample in the input record.
It may be necessary to set and export the shell variable WFDB (see setwfdb(1) ).
Please e-mail your comments and suggestions to webmaster@physionet.org, or post them to:
PhysioNetUpdated 10 June 2022