That is very common. And it could very well be the case here as well.
I just did not see it as a good fit for this question.
Seconds since start of 1970 is usually since start of 1970 GMT, so
you would need to do something to handle timezones other than GMT.
Example:
using System;
using System.Runtime.InteropServices;
namespace E
{
public class Program
{
private static readonly DateTime epoch = new DateTime(1970, 1,
1, 0, 0, 0, DateTimeKind.Utc);
[DllImport("msvcrt.dll")]
public static extern long time(IntPtr t);
public static void Main(string[] args)
{
long t = time(IntPtr.Zero);
DateTime now = epoch.AddSeconds(t).ToLocalTime();
Console.WriteLine(now);
Console.ReadKey();
}
}
}
Arne