1
Answer

year month day parameters describe an un-representable date

  1. DateTime dtGDl = new DateTime(year,Month,dayofgdl)  
this i  my code where year month and dayofgdl is a variable 
 
i get this error when the date is 31st for eg : 31/12/2019
when i changed the date to 30 it worked  

Answers (1)