0
J'ai une chaîne avec le temps Epoch (Unix). Besoin de le convertir en chaîne avec l'heure locale. Le code ci-dessous fonctionne, mais donnez-moi l'heure UTC, pas locale. 09-05-2017 21:55:44C++ Poco Epoch (Unix) temps converti en chaîne LocalTime
using Poco::Timestamp;
using Poco::DateTimeFormatter;
Timestamp timeStamp;
timeStamp = Timestamp::fromEpochTime(jrnTime);
timeFormatted = DateTimeFormatter::format(timeStamp, "%d-%m-%Y %H:%M:%S");