C - Program to Display Date
#include<stdio.h> #include<dos.h> main() { struct date d; getdate(&d); printf("Current system date is %d/%d/%d\n",d.da_day,d.da_mon,d.da_year); return 0; }
#include<stdio.h> #include<dos.h> main() { struct date d; getdate(&d); printf("Current system date is %d/%d/%d\n",d.da_day,d.da_mon,d.da_year); return 0; }