int setbasetime(char *string)
Return:
This function sets the base time used by the time-conversion functions
timstr
and strtim
. Its argument is a null-terminated
ASCII string in HH:MM:SS format. An optional base date in
dd/mm/yyyy format can follow the time in string; if present,
the date should be separated from the time by a space or tab character. If
string is empty or NULL
, the current date and time are read
from the system clock. Use setbasetime
after defining the sampling
frequency and before creating a `header' file
(see section newheader).
See section Example 8: Creating a New Database Record, for an illustration of the use of setbasetime
.
Go to the first, previous, next, last section, table of contents.