www.delorie.com/djgpp/doc/libc-2.01/libc_320.html   search  
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.

Example

struct date d;
getdate(&d);


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997