Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# reading months as int

int  month = DateTimeFormatInfo.CurrentInfo.MonthNames.ToList().IndexOf(MonthNameStr) + 1;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reading #months #int
ADD COMMENT
Topic
Name
2+6 =