Date stamp on a SD file from a real time clock

You need to initialize the RTC only once, then no need to use The macros F(DATE), F(TIME)

I’m not sure of what your question is (and post your code if you have question on the code)