Good day,
I need to get the time and date server GMT-UTC "time.windows.com" or any other server time and date,
this because I have a schedule control application and users are "very creative" and atrazann time!.
I've tried with the winapi function:
and returns the time and date but the PC.
also with the command:
I get no result ...
thanks,
regards
I need to get the time and date server GMT-UTC "time.windows.com" or any other server time and date,
this because I have a schedule control application and users are "very creative" and atrazann time!.
I've tried with the winapi function:
time ( &rawtime );
 ptm = gmtime ( &rawtime );
   Â
 hour = ptm->tm_hour;
 min = ptm->tm_min;
 sec = ptm->tm_sec;and returns the time and date but the PC.
also with the command:
NET TIME \\Servidor_Tiempo /SETI get no result ...
thanks,
regards