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

  • facebook-square
  • Twitter Square
  • google-plus-square

© 2014 by Newel Software LLC.

bottom of page