Brad Adams:
public static DateTime Time_T2DateTime(uint time_t)
{
long win32FileTime = 10000000*(long)time_t + 116444736000000000;
return DateTime.FromFileTimeUtc(win32FileTime);
}
Did anyone understand the logic behind this ?? I struggled with it for some time and then lost patience !
His posts on DesignGuidelines are really good. Subscribed.