I understand that I can use the GetCurrentTime class for getting Current time from PC in C++. I just wonder how to write code for getting current time from PC by using C.

Thank you for any help.