c# - How to change DateTimeFormatInfo.CurrentInfo AbbreviatedDayNames collection -



c# - How to change DateTimeFormatInfo.CurrentInfo AbbreviatedDayNames collection -

how alter datetimeformatinfo.currentinfo abbreviateddaynames collection. want utilize mine, tues instead of tue. , when utilize tostring("ddd") want see tue.

is possible in c#?

you may in fashion

cultureinfo cinfo = cultureinfo.createspecificculture("en-en"); cinfo.datetimeformat.abbreviateddaynames = new string[]{"suns","mon","tues", "weds","thursday","fries","sats"};

now assign current civilization , should go

c# asp.net asp.net-mvc

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -