I\'m working with the Azure REST API and they are using this to create the request body for table storage:
DateTime.UtcNow.ToString(\"o\")
Did it like this:
using namespace boost::posix_time; ptime t = microsec_clock::universal_time(); qDebug() << QString::fromStdString(to_iso_extended_string(t) + "0Z"); // need 7 digits