using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
///week 的摘要说明
/// </summary>
public class week
{
public static string Geteek()
{
string[] weekdays = { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" };
string week = weekdays[Convert.ToInt32(DateTime.Now.DayOfWeek)];
return week;
}
}
相关新闻
- 小程序登录流程图理解 2020-08-18
- 在C#中获取web.config中的配置信息 2021-08-23
- 小程序open-data头像样式 2021-04-10
- 小程序rich-text 富文本解析图片过大和图片路径的问题 2020-11-25
- C#中去掉字符串的最后一个字符 2020-11-23