Puedes hacer algo como esto:

#include <iostream>
#include <iomanip>
#include <ctime>

std::string HourServer() {
std::time_t now = std::time(nullptr);
std::tm utc_tm = *std::gmtime(&now);
std::string hour = std::put_time(&utc_tm, "%H:%M:%S");
return hour;
}

std::string DayServer() {
std::time_t now = std::time(nullptr);
std::tm utc_tm = *std::gmtime(&now);
std::string day = std::put_time(&utc_tm, "%A, %d %B %Y");
return day;
}

int main() {
std::cout << "La hora actual en GMT es: " << HourServer() << std::endl;
std::cout << "El día actual en GMT es: " << DayServer() << std::endl;
return 0;
}
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence