vendredi 3 juin 2022

C++ how can I convert a string timestamp to a specific format?

I'm trying to convert a timestamp in C++ that has the string format 2020/03/23 15:01:24.884422 to 23/03/2020 15:01:25

I have seen that most posts mention about strftime, but I it hasn't worked for me.

Anyone could give me some help here, please. Thanks!

Aucun commentaire:

Enregistrer un commentaire