Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Compare Date and show the difference (http://www.go4expert.com/forums/compare-date-difference-t28422/)

mrexp21 21May2012 07:18

Compare Date and show the difference
 
I have a file, 'date-list.txt' which has date in it. For example , 20 May 2012 .

Now I want to compare this date with current system date and show the difference in days .

How can i compare dates and shows difference in days in C++.?

Im really a c++ beginner . So , if possible , please show and guide me with codes . Thanks in advanced .

xpi0t0s 22May2012 13:08

Re: Compare Date and show the difference
 
What OS and compiler are you using?


All times are GMT +5.5. The time now is 21:51.