Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining current time with milliseconds?

Status
Not open for further replies.

Kush

Programmer
Sep 20, 2000
24
US
Can someone tell me how I can use Now() to determine the current time along with milliseconds. By default, Now() returns the time only with seconds.

Thanks.
 
Kush,

Now() only gives time to the second.

What are you trying to to? If you want to determine time in milliseconds between event A and event B, you can use CF's GetTickCount() function.
Note that (from CF manual)"The absolute value of the counter has no meaning. Generate useful timing values by taking differences between the results of GetTickCount() at specified points during page processing."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top