I want to use the function strftime()
from <ctime>
to print the time in the ISO 8601 UTC format, e.g. 2016-01-12T10:37:20Z
.
According to the standard cplusplus, the format string %FT%TZ
produces the same as "%Y-%m-%dT%H:%M:%SZ"
, but Visual Studio 2010 does not know the format specifiers %F and %T. Why is that? They seem to have forgotten them?!
Those features were introduced to standard C in C99, and to C++ in C++11.
It seems that Visual Studio 2010 supports neither of those standards.