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


getdate

Syntax

#include <dos.h>

void getdate(struct date *);

Description

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

struct date {
  short da_year;
  char  da_day;
  char  da_mon;
};

See section setdate. See section gettime.

Return Value

None.

Portability

not ANSI, not POSIX

Example

struct date d;
getdate(&d);


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