/// <summary>
/// 判断当前的季度
/// </summary>
/// <param name="month">月份</param>
/// <returns>返回季度</returns>
public string GetMonthOfQuarter(DateTime month)
{
int num = (month.Month + 2) / 3;
string yearmonth = month.Year + "-" + num;
return yearmonth;
}
判断当前的季度
最新推荐文章于 2022-08-16 12:00:16 发布