Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

convert nullablne date into non nullable date in c#

DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate ?? DateTime.Now;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #nullablne #date #nullable #date
ADD COMMENT
Topic
Name
9+7 =