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
Post a Comment