Wininet in VB.NET (DateTime problem)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pro2c
    New Member
    • Jan 2007
    • 11

    Wininet in VB.NET (DateTime problem)

    I have a problem decrypting the date and time recieved from WinInet.

    When i use cuteFTP i get the correct date and time, but using wininet API i get:

    (should be 24. March 2007):
    dwHighDateTime = 29847065
    dwLowDateTime 2143413760

    I read somewhere that i should convert it like this:

    X = DateTime.FromFi leTime(10000000 * (high+low) + 116444736000000 000)

    but it isn't correct
  • pro2c
    New Member
    • Jan 2007
    • 11

    #2
    nobody had the same problem using his wininet library to access an FTP server and get file times?

    Comment

    Working...