www.delorie.com/djgpp/doc/libc/libc_387.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No

Example

 
struct date d;
getdate(&d);


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004