You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi... just found a little bug. The way you read apptime and systime in your tnef reader should be like this.
You now read apptime and systime as dates from 1-1-1601 and that is only for the systime and not for apptime.
APPTIME: 8 bytes; a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight
case PropertyType.PT_APPTIME:
var oaDate = BitConverter.ToDouble(Data, 0);
return DateTime.FromOADate(oaDate);
case PropertyType.PT_SYSTIME:
var fileTime = BitConverter.ToInt64(Data, 0);
return DateTime.FromFileTime(fileTime);
The text was updated successfully, but these errors were encountered:
Hi... just found a little bug. The way you read apptime and systime in your tnef reader should be like this.
You now read apptime and systime as dates from 1-1-1601 and that is only for the systime and not for apptime.
APPTIME: 8 bytes; a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight
The text was updated successfully, but these errors were encountered: