#include <iostream>
#include <ctime>
struct tm* GetTimeAndDate(unsigned long long milliseconds) {
time_t seconds = (time_t)(milliseconds / 1000);
return localtime(&seconds);
}
int main() {
char date[100];
struct tm *p = GetTimeAndDate(10735898474859);
strftime(date, sizeof(date) - 1, "%d/%m/%Y %H:%M", p);
std::cout << date;
}
/*
run:
18/03/2310 02:01
*/