Usage: | WFDB_setbasetime; | |
WFDB_setbasetime(BASETIME); | ||
Input: | BASETIME: (string) time of sample 0, in HH:MM:SS format; an optional base date in dd/mm/yyyy format can follow the time, separated from it by a space or tab character. |
This function sets the base time (the time of day corresponding to sample number 0), used by the time-conversion functions WFDB_timstr and WFDB_strtim. Use WFDB_setbasetime after defining the sampling frequency and before creating a header file. If called without an argument, the current date and time are read from the system clock.