(Unix) Timestamp to .NET DateTime ?

Well, this is rather a note to myself:

for Javascript new Date().getTime() value (miliseconds, hence / 1000)

  1. new System.DateTime(1970, 1, 1, 0, 0, 0, 0)
  2. .AddSeconds(ajaxRequest.RequestDate / 1000)