If your server is set to use PST time then you could do the following
Goes like this:
TimeSpan test = DateTime.Now - new DateTime(1970, 01, 01);
MessageBox.Show(test.TotalSeconds.ToString());
For one liner:
MessageBox.Show((DateTime.Now - new DateTime(1970, 01, 01))
.TotalSeconds.ToString());
If you can not guarantee that PST is being used on the computer your code will run you can declare the timezone like this
var zone = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time");
var utcNow = DateTime.UtcNow;
var pacificNow = TimeZoneInfo.ConvertTimeFromUtc(utcNow, zone);
MessageBox.Show((pacificNow - new DateTime(1970, 01, 01))
.TotalSeconds.ToString());
Hope this helps