这是我想要的格式yyMMddHHmmssWWNZ
array<Char>^date_ = this->date_datepicker->Value.ToString("yyMMddHHmmssWWNZ")->ToCharArray();
如何从所选日期获取周数和周日数? 现在我只得到“120810144500WWNZ”
答案 0 :(得分:0)
http://msdn.microsoft.com/en-us/library/system.globalization.calendar.aspx
weeknr = GetWeekOfYear()
weekdaynr = GetDayOfWeek()