EXCEPTION: Year, Month, and Day parameters describe an un-representable DateTime Exception, StackTrace: at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
Answers
Smith
2890
Points
78
Posts
|
Subtract 1 day from DateTime object itself so that there will no chance for out range as follow:
Posted On:
19-Apr-2022 00:48
thanks. worked. - beginer 20-Apr-2022 23:52
|