Getting a short day name

前端 未结 5 2301
一生所求
一生所求 2021-02-18 13:51

I was wondering on how to write a method that will return me a string which will contain the short day name, example:

    public static string GetShortDayName(Da         


        
5条回答
  •  走了就别回头了
    2021-02-18 14:18

    DateTimeFormatInfo.ShortestDayNames
    

    Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.

提交回复
热议问题