answersLogoWhite

0

Please use this Sample Code given below :

Source Code:

#include<iostream.h>

#include<conio.h>

#include<dos.h>

void main()

{

clrscr();

struct date d;

int dd,mm,yy;

getdate(&d);

dd=d.da_day;

mm=d.da_mon;

yy=d.da_year;

cout<<"\n\n\n\t\t\tDATE : "<<dd<<"/"<<mm<<"/"<<yy;

getch();

}

Any queries can checked using the help index in c/c++.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What was the date of Buckbeaks execution?

Buckbeak's execution was scheduled for June 6, 1994, in &quot;Harry Potter and the Prisoner of Azkaban.&quot; However, he was ultimately saved by Harry Potter and Hermione Granger using time travel, preventing the execution from taking place.


When Will Richard Ramirez's execution be?

He is waiting an execution date, possibly 2012


How would you explain processing cycle?

The processing cycle is the execution start date and the next execution start date of a jobnet.


What is the difference between execution date and effective date?

The execution date is when a contract or agreement is signed by the parties involved, while the effective date is when the terms and obligations outlined in the contract become enforceable or go into effect. In some cases, the execution date and effective date may be the same, but they can also be different depending on the terms of the agreement.


What date was buckbeaks execution?

Sunset


When is Brittany Holberg's execution date?

Brittany Holberg's execution date has not yet been set. She currently is still on Texas's death row.


What does dsp date mean?

Display date


What day was 20 June 1967?

Tuesday Found using Excel's date functions: display 6/20/67 appropriately


What was the date of Guy Fawkes execution?

It was January 31, 1606.


Is turbo still going to be in movies on August 10?

The animated film Turbo has a US premiere date of July 17, 2013 .


What is the DOS command for weekday and time?

In DOS, you can use the date command to display or set the current date, and the time command to display or set the current time. To see the current date and time along with the weekday, you can use the echo command combined with the %date% and %time% environment variables. For example, you can enter echo %date% %time% to display the current date and time.


When does a plan become an order?

when the commander sets an execution date and time