In C++20, under UNIX systems (no portability is required), how do I convert a UTC string date time of the following format:
"2024-04-26T14:33:30.185Z"
into a UNIX UTC numeric timestamp ?
I am looking for the standard recommended way, if there is any.
There are many answers for similar questions, but they seem to either provide solutions for older standards, or focus on portability, or require time zone conversion. I am looking for the simple efficient standard way to do this under Linux with C++20, without portability requirement and without time zone conversion.
student_1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.