SD card logfile name time stamp

Hello,

Finaly I found what I want and that is the following program line for filename

char filename[]="";
sprintf(filename,"%02d-%02d.csv",var,ver);
Serial.println(filename);

dataFile=SD.open(filename,FILE_WRITE);
Each day i get a file with day-month.

Thanks for all support.

ilioSS

( solved )