I am getting an aggregated exception while storing a DateTime
value of either null
or DateTime.MinValue
. How do I store an acceptable default DateTime
value in Azure table store?
A single storage account can store up to 500TB of data and like any other Azure service, users can take advantage of the pay-per-use pricing model.
It is possible to specify a container and its blob public. D. All of these. Explanation: All the above three statements hold true for Azure Storage.
Edm.DateTime DateTime A 64-bit value expressed as Coordinated Universal Time (UTC). The supported DateTime range begins from 12:00 midnight, January 1, 1601 A.D. (C.E.), UTC. The range ends at December 31, 9999.
So, the minimum .Net DateTime value you can store in Azure Tables is new DateTime(1601, 1, 1)
.
But DateTime.MinValue is equal to new DateTime(0001, 01, 01)
, that's why you can't store it.
(DateTime?)
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With