C#: Check whether the given year, month and day are the current or not
Write a program in C# Sharp to check whether the given year, month and day are current or not.
Sample Solution:-
C# Sharp Code:
Sample Output:
Check whether the given year, month and day is the current or not : ------------------------------------------------------------------------ Input the Day : 12 Input the Month : 06 Input the Year : 2017 The formatted Date is : 12/06/2017 The current date status : True
Flowchart:

C# Sharp Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a C# Sharp program to convert the specified string representation of a date and time to its DateTime equivalent using the specified format, culture-specific format information, and style.
Next: Write a program in C# Sharp to compute what day was yesterday.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.