daily pastebin goal
58%
SHARE
TWEET

UnixTimeToDateTime

tolikpunkoff Aug 8th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private DateTime UnixTimeToDateTime(double UnixTime)
  2.         {
  3.             DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0);
  4.             return origin.AddSeconds(UnixTime);
  5.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top