diff --git a/S7.Net/Types/Date.cs b/S7.Net/Types/Date.cs
index ef6cc79..5c53f19 100644
--- a/S7.Net/Types/Date.cs
+++ b/S7.Net/Types/Date.cs
@@ -11,7 +11,7 @@ namespace S7.Net.Types
///
/// Minimum allowed date for the IEC date type
///
- public static readonly System.DateTime IecMinDate = new(year: 1990, month: 01, day: 01);
+ public static System.DateTime IecMinDate { get; } = new(year: 1990, month: 01, day: 01);
///
/// Maximum allowed date for the IEC date type
@@ -20,7 +20,7 @@ namespace S7.Net.Types
/// WORD max value - 65535)
///
///
- public static readonly System.DateTime IecMaxDate = new(year: 2169, month: 06, day: 06);
+ public static System.DateTime IecMaxDate { get; } = new(year: 2169, month: 06, day: 06);
private static readonly ushort MaxNumberOfDays = (ushort)(IecMaxDate - IecMinDate).TotalDays;
@@ -79,4 +79,4 @@ namespace S7.Net.Types
return values;
}
}
-}
\ No newline at end of file
+}