#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
textcolor(6);
cprintf("Showing Executing Date and Time \n");
printf("\n") ;
textcolor(2);
cprintf(" Date: %s ",__DATE__);
printf("\n") ;
textcolor(4);
cprintf(" Time: %s ",__TIME__);
getch();
}
Output
