Subin Thomas

Subin Thomas

  • NA
  • 4.9k
  • 117.5k

year month day parameters describe an un-representable date

Jan 28 2020 1:54 PM
  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)