When I retrieve a record using LINQ that has a DateTime field only the ToString() is available.
Where are all the other DateTime methods?
I have to Convert.ToDateTime the DateTime? that the Field returns?
What is the difference between (DateTime) and (DateTime?)
If by DateTime?
you mean a Nullable<DateTime>
, then you can get the DateTime
value via the DateTime?.
Value
property.
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