title: How to get current date in C++ program?
body: <p>I want to write a C++ code for checking if the person is above 18 yrs old but not by asking the age but by the DOB of the person. Is there any way which can help me in getting the current Date from the system?</p>