I am using C++ and am using the TDateTime data type.
How can I get the current system date/time and place it into a TDateTime variable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You call
Now(),TDateTime t = Now();. Here is a tutorial. You should be able to figure this stuff out by a simple search. Please try to make more effort in trying to figure out these problems by yourself.