i have a online logging of data through com port.
the c program captures the online data every 1 minute, calculates ten minute average, standard deviation and then writes it to a file.
the file is created with getdate function.
when the day changes, i have to create the new file with the new date which is not happening. can someone help.
i can send the code if interested.