How to convert DateTime.Now in C# to C++?


  • // Display the expiration date using the DateTimeFormatter. // For example, longDateFormat.Format(licenseInformation.ExpirationDate) var daysRemaining = (licenseInformation.ExpirationDate - DateTime.Now).Days;

    This is a C# code clip. I need to apply it in C++ program for Windows Store. However it seems hard to convert DateTime.Now to C++. What is the solution?

    Charlie Chang L

    Tuesday, October 9, 2012 5:59 PM


All replies