I am trying to get the date and time (NOW) here is what I have got so far:
16/1/2020 13:24
How can I get dd/mm and also how to set time non UTC? The time should be 12:24pm
time_t rawtime
struct tm ltm;
time(&rawtime)
localtime_s(<m, &rawtime)
std:stringstream date;
date << ltm.tm_mday
<< "/"
<< 1+ ltm.tm_mon
<<"/"
<<1900 + ltm.tm_year
<< " "
<< ":"
<< 1 + ltm.tm_min;
std::cout << date.str() << "\n";