c# - DateTime getting todays Month in if statement -
i want if statement if month == january example load else if month == april load else. can please thanks
you can use month
property, range 1-12:
int month = datetime.now.month; if(month == 4) //april {..
Comments
Post a Comment