public DataPoint(string TimeOfPointString, int ValueOfPoint) { List <int> myIntList = new List <int>(); myIntList = FileTouch.WashDataFromStringToInt(TimeOfPointString); DateTime dateTime = new DateTime(myIntList[0], myIntList[1], myIntList[2], myIntList[3], myIntList[4], myIntList[5]); DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1)); this._TimeOfPoint = (long)(dateTime - startTime).TotalMilliseconds; this._ValueOfPoint = ValueOfPoint; }