/* C Program Example - C Program to Print Date
* This C program will print the current date */
#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
clrscr();
struct date d;
getdate(&d);
printf("Current system date is %d/%d/%d",d.da_day, d.da_mon, d.da_year);
getch();
}
* This C program will print the current date */
#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
clrscr();
struct date d;
getdate(&d);
printf("Current system date is %d/%d/%d",d.da_day, d.da_mon, d.da_year);
getch();
}