Go to the first, previous, next, last section, table of contents.


gettime

Syntax

#include <dos.h>

void gettime(struct time *);

Description

This function gets the current time. The return structure is as follows:

struct time {
  unsigned char ti_min;
  unsigned char ti_hour;
  unsigned char ti_hund;
  unsigned char ti_sec;
};

See section settime. See section getdate.

Return Value

None.

Portability

not ANSI, not POSIX

Example

struct time t;
gettime(&t);


Go to the first, previous, next, last section, table of contents.