Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# compare months

if(DateTime.ParseExact(DDMonths.SelectedItem.Text, "MMMM", CultureInfo.CurrentCulture).Month > DateTime.Now.Month) {
  ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #compare #months
ADD COMMENT
Topic
Name
9+6 =