protected static int GetDateTime(byte[] Data, ref DateTime Value, int Pos) { Int64 LongValue = 0; int TempPos = GetInt64(Data, ref LongValue, Pos); Value = DateTime.FromBinary(LongValue); return TempPos; }