Writing date and time to filename on SD card?

Can anybody say how i can save every time new filename at my sd files? when i start program…

I wanna save date and time like “30052012_0918.CSV” or “300512_0918” (<- 30.5.2012 9:18)

i using arduino pro mini and rtc breakout, sd breakout…

is this possible?

You should stick to "8.3" names like 120503xx.csv on a fat16 file system.

Not sure if it's better to omit the year, or to increment the last digits until you find a file that does not yet exist. Depends on your needs/preferences.

Michael_x also solved your doubt in other post: