Hi. I want to use CultureInfo to get the week number. I tried to manage package and add System.Globalization and I get the error:
Dependency Resolved but Found Empty
May I know how to fix this? Thanks for helping
Hi. I want to use CultureInfo to get the week number. I tried to manage package and add System.Globalization and I get the error:
Dependency Resolved but Found Empty
May I know how to fix this? Thanks for helping
Hi,
I think we don’t need to add dependency to System.Globalization.
Can you try as the following?
System.Globalization.CultureInfo.CreateSpecificCulture("en-US").Calendar.GetWeekOfYear(Now,System.Globalization.CalendarWeekRule.FirstDay,System.DayOfWeek.Sunday)
Regards,
Hey Yoichi,
Thanks for your prompt reply and it works!
Cheers!
Regards
Yem
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.