top of page

Convert a Unix Type Date time

public static DateTime ConvertFromUnixTimestamp(long timestamp)

{

DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);

return origin.AddMilliseconds(timestamp);

}

Please reload

bottom of page