You'll want to split it into two longs to be Microsoft compatible as the FILETIME structure is as follows:
Code:
VB
Private Type FILETIME
dwLowDateTime As Long
dwHighDateTime As Long
End Type
C
typedef struct _FILETIME {
DWORD dwLowDateTime; /* low 32 bits */
DWORD dwHighDateTime; /* high 32 bits */
} FILETIME, *PFILETIME, *LPFILETIME;
This is the standard format which PHP may be able to handle (don't know, don't use PHP) The filetime is stored in UTC time so you'll then also need to convert it to "local" time. I.E. Eastern Standard, Moutain, etc if you system clock is not set to GMT time. Otherwise there will be xx hours discrepency in the time.
<edit>
How did you handle the channel bit field?
Are you handling just version 12 of the Ns1 format or the 3 other public versions (not counting version 1)?