SD filename as date?

lbernstone
Posts: 52
Joined: Mon Jul 22, 2019 3:20 pm

Re: SD filename as date?

Postby lbernstone » Wed Apr 08, 2020 10:46 pm

Code: Select all

    struct tm now;
    getLocalTime(&now, 0);
    char filename[64];
    strftime(filename, 64, "/%F.csv", &now);

Who is online

Users browsing this forum: No registered users and 15 guests