How i can easly calculate the difference between two dates ?
Example :
Date 1 = 12 March(3)
Date 2 = 24 November(11)
Result = 258 days
Can anyone give me an example how to do this in C++ ?
Btw i don't want to use date functions or something like that.I want to do it with simple math formula.Thank you!
Example :
Date 1 = 12 March(3)
Date 2 = 24 November(11)
Result = 258 days
Can anyone give me an example how to do this in C++ ?
Btw i don't want to use date functions or something like that.I want to do it with simple math formula.Thank you!
Comment