How can I initialise a Datetime^ variable with current Date?
I have this idea but I'm not sure: Datetime^ curDate = gcnew DateTime::Now;
Anyone?
Tales
0
Light Poster
Recommended Answers
Jump to PostNot sure, but does this work?
Datetime^ curDate = gcnew Datetime(); curDate = DateTime::Now;
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.