i have a problem with the following code... more precise with the tm structure.
when i run this code, it seems that the tm structures members tm_mon and tm_year overlapp or something like that...
today is yanuary the 13 2010...
what i get is month = 0 and year = 110 instead of 10...