CultureInfo cul = CultureInfo.CurrentCulture;
DateTimeFormatInfo dfinfo = DateTimeFormatInfo.CurrentInfo;
MessageBox.Show(cul.Calendar.GetWeekOfYear(DateTime.Now.Date, dfinfo.CalendarWeekRule, dfinfo.FirstDayOfWeek).ToString());
Programmazione .Net, Asp.Net, Compact Framework. Filenet e tanto altro materiale informatico.
Nessun commento:
Posta un commento