GenericDateTimeToDateOnly Method
Converts a DateTime object to a DateOnly type.
Namespace: Common.Core.ConvertersAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static DateOnly? DateTimeToDateOnly(
Object value
)
- value Object
- Value to try and convert.
NullableDateOnly is returned if the value could not be converted.