1tim.... at gmail.com wrote: > issinoho wrote: > >> if (atoi (date_string + 5) > 2020) > > you are adding 5 to the ascii value of the first byte of that date string. No, indexing 5 bytes into the string.