Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. 64-bit value in microseconds to a time

64-bit value in microseconds to a time

Scheduled Pinned Locked Moved Visual Basic
questioncsharpc++help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ccandler
    wrote on last edited by
    #1

    I have a number which is in microseconds and need to convert it into a time and date. CHighTime class (written in C++) was used to make this number by another vendor and now I am trying to convert it back using VB.net any help would be appreciated. The number is a 64 bit value (in microseconds), and is the number of 1 microsecond intervals since January 1, 1601. Another way of asking this question is how do you use the chightime class within a VB.net project?

    D 1 Reply Last reply
    0
    • C ccandler

      I have a number which is in microseconds and need to convert it into a time and date. CHighTime class (written in C++) was used to make this number by another vendor and now I am trying to convert it back using VB.net any help would be appreciated. The number is a 64 bit value (in microseconds), and is the number of 1 microsecond intervals since January 1, 1601. Another way of asking this question is how do you use the chightime class within a VB.net project?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't use the code directly. You'd have to either rewrite it in VB.NET or compile it directly into a .DLL and use it that way. The other option is to look for other high resolution timer controls such as the CCRP High Performance Timer Object, which can be found here[^]. RageInTheMachine9532

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups