Answers for "date setup et equivalent date windows"

0

date setup et equivalent date windows

#include <stdio.h> 
#include <windows.h> 
  
int main(void) 
{ 
    SYSTEMTIME Time; 
  
    GetLocalTime(&Time); 
  
    printf("Nous sommes le : %02d/%02d/%04d.\n", 
    Time.wDay, Time.wMonth, Time.wYear); 
  
    printf("Et il est : %02dh %02dmn %02ds %03dms.\n", 
    Time.wHour, Time.wMinute, Time.wSecond, Time.wMilliseconds); 
  
    return 0; 
}
Posted by: Guest on February-10-2021

Browse Popular Code Answers by Language