title: C# calculating the time remaining until a provided string in milliseconds
body: <p>My problem is the following, I pull a string of raw data from a website and it contains a value in milliseconds of a time in the future. Now I want to calculate how much time is remaining until that time in the future. First I tried converting the current time to milliseconds and I also tried the opposite of trying to convert the string of milliseconds to a time value I can use but none of these worked.. This is probably a very basic question but I'm new and trying to learn.</p>
  
  <p>Following snip of code is what i was working with.</p>
  
  <pre><code>DateTime baseDate = new DateTime(1970, 1, 1);   
  long dissapearTime = long.Parse(test.disappear_time.ToString()); 
  TimeSpan diff = DateTime.Now - baseDate;
  Console.WriteLine(diff.TotalMilliseconds-dissapearTime);
  string oeps = diff.TotalMilliseconds.ToString();
  </code></pre>
  
  <p>my string remains empty though..</p>