Results 1 to 7 of 7

Thread: (ASP) Is is possible to get a more precise time than hh:mm:ss? **Resolved**

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (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.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    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.

  4. #4

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    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.

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  6. #6

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    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.

  7. #7
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width