byte[] to System time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newbie1999
    New Member
    • Apr 2010
    • 1

    byte[] to System time

    Hi, my question is a bit like http://bytes.com/topic/net/answers/6...-date-datetime but more complex

    I have an array of byte in FILETIME structure in C/C++
    typedef struct {
    DWORD dwLowDateTime;
    DWORD dwHighDateTime;
    } FILETIME,
    *PFILETIME,
    *LPFILETIME;

    How can I transfer them to readable time format?

    e.g. 9ea85071c0fdc80 1 = Thursday, August 14, 2008, 11:30:53 AM

    Thanks
  • Monomachus
    Recognized Expert New Member
    • Apr 2008
    • 127

    #2
    Originally posted by newbie1999
    Hi, my question is a bit like http://bytes.com/topic/net/answers/6...-date-datetime but more complex

    I have an array of byte in FILETIME structure in C/C++
    typedef struct {
    DWORD dwLowDateTime;
    DWORD dwHighDateTime;
    } FILETIME,
    *PFILETIME,
    *LPFILETIME;

    How can I transfer them to readable time format?

    e.g. 9ea85071c0fdc80 1 = Thursday, August 14, 2008, 11:30:53 AM

    Thanks
    Does it have to do something with C#?

    Comment

    Working...