QTP uses VBScript, which has a built in Timer function. It returns the number of seconds that've passed since midnight. It also has Date and Time functions which return the system bios date and time. And a Now function, which is a combination of the last two.
How QTP identify the system time that's changes every seconds?