|
-
Nov 20th, 2002, 03:12 PM
#1
Thread Starter
Frenzied Member
(ASP) Is is possible to get a more precise time than hh:mm:ss? **Resolved**
I am processing some xml files super duper fast and all seems to be going as planned but the prompts I am writing to the screen all have the same time (cos it is all in the same second). is there a way to be more precise?
thanks
michael
Last edited by msimmons; Nov 20th, 2002 at 03:47 PM.
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 20th, 2002, 03:21 PM
#2
you can get milliseconds, but you need to use the GetTickCount API, but to do that of course, you need to wrap it into a dll.
-
Nov 20th, 2002, 03:23 PM
#3
Thread Starter
Frenzied Member
well that's no fun... I've never done anything like that before... is it hard?
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 20th, 2002, 03:31 PM
#4
Thread Starter
Frenzied Member
Its a moot point now cos I figured out what I was doing wrong (I was needing to tell the time to find my problem), but am still interested.
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 20th, 2002, 03:44 PM
#5
not realy hard. You just make a regualr ActiveX dll with a function that calls the api and returns the value the api returned. then on you asp page, you can call that dll like any other dll
Set blah = Server.CreateObject("dllname.classname")
a = blah.MyWrapperFunction
-
Nov 20th, 2002, 03:46 PM
#6
Thread Starter
Frenzied Member
k, sounds a bit involved I guess I'll wait till I need it.
Thanks
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 20th, 2002, 03:51 PM
#7
Ok then. This is another one of the many reasons I preach ASP.NET. In ASP .NET you can stick API calls write into the page..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|