[SOLVED] Check difference between two dates
#3

Quote:
Originally Posted by bogeyman_EST
Do you need to do the second sscanfs? You could remove them and just set the int to 201001011200, unless it actually has a function that gets the date from somewhere.
Secondly try adding prints to all of the lines, so you could better work out the problem
1. I tried using just one sscanf (using parameters "p-dddp,dp:d" but it didn't worked.. So that's why I'm using 3 sscanfs..
2. I don't think it's needed cause I print almost all results on the last line.. :S
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)