Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have:

strDataScanner = dtScanner.Format( _T("%A, %d %B %Y %H:%M:%S") );


where strDataScanner is a double, I want to compare two dates and add a day

What I have tried:

I searched in internet but I don't find format that is
("%A, %d %B %Y %H:%M:%S")


can you help me?
Posted
Updated 9-Oct-19 21:37pm
Comments
CPallini 10-Oct-19 3:33am    
I hardly believe strDataScanner is a double. What is the type of dtScanner?

1 solution

Quote:
searched in internet but I don't find format that is

Search in the documentation: strftime, wcsftime, _strftime_l, _wcsftime_l | Microsoft Docs[^].
 
Share this answer
 
Comments
Maciej Los 10-Oct-19 3:51am    
:thumbsup:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900