Why Cscript can not complile gettimeofday function?

Hi, I am trying to use function gettimeof day in my Cscript function to measure the execution time of my code. I include sys/time.h and time.h in code declearation part, but ‘error: implicit declaration of function ‘gettimeofday’’ occur when compile the code. I find the declearation of gettimeofday in time.h and my system is WIN 11, so I am quite confused why it is not working.

‘gettimeofday()’ is a system function that is found on Linux and MacOS. Windows does not implement this system function.

Okay, I understand. Thank you for pointing out the mistake.