Introduction - If you have any usage issues, please Google them yourself
In Windows to achieve:
Use CreateProcess () to create a process
- the use of WaitForSingleObject (synchronous) under the mytime command and the newly created process
- call GetSystemTime () to obtain the time