using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
int m = 0, n = 0, p = 0;
m = Convert.ToInt32(Console.ReadLine());
n = Convert.ToInt32(Console.ReadLine());
p = Convert.ToInt32(Console.ReadLine());
DateTime dt = new DateTime(m, n, p);
string str = dt.ToString("yyyy年MM月d日");
Console.WriteLine(str);
}
}
}
C#输入日期并输出日期
最新推荐文章于 2025-03-26 10:17:09 发布