public static long currentTimeMillis()
{
System.DateTime dt = new System.DateTime(1970, 1, 1, 0, 0, 0, 0);
System.TimeSpan lTime = (System.TimeSpan)(System.DateTime.Now - dt);
return (long)lTime.TotalMilliseconds - 28800000;
}