TIME2SEC(1)

NAME
time2sec - convert WFDB standard time format into seconds

SYNOPSIS
time2sec [ -r record ] time

DESCRIPTION
This program converts the specified time interval, time (in WFDB standard time format), into seconds. Enclose TIME in square brackets (e.g., [9:0:0]) to convert a time of day to the elapsed time in seconds from the beginning of the (optionally) specified RECORD.

ENVIRONMENT

It may be necessary to set and export the shell variable WFDB (see setwfdb(1)).

FILES

record.hea
    header file

SEE ALSO
setwfdb(1)

AUTHOR
George B. Moody (george@mit.edu)

SOURCE
http://www.physionet.org/physiotools/wfdb/app/time2sec.c