I\'ve searched in the Web but I\'ve only found a way for do it, but in this way it returns in seconds instead of milliseconds.
My code is:
#include
For Windows, GetSystemTime() is what you want. For POSIX, gettimeofday().
GetSystemTime()
gettimeofday()