View Full Version : wsh sleep method and time() function

02-17-2004, 06:22 PM
what is the time of the code here -->wscript.sleep 100 . 100 what? seconds..miliseconds..i ran the script on 10000 and i know it cant be seconds or miliseconds..so what else would it be?

also how do i tell a script how to tell the difference between 7am and 7pm when all i can do is just the number 7?

Roy Sinclair
02-17-2004, 07:37 PM
Milliseconds: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthsleep.asp

Roy Sinclair
02-17-2004, 07:39 PM
Oh yeah, if you're getting just the "7" in the time you should also be getting an AM/PM indicator in the returned time format as well.

Perhaps a sample of what you're trying?