LoginSignup
2
0

More than 5 years have passed since last update.

今日の日付を表示するプログラム

Posted at

はじめに

今日の日付を表示するプログラムを書いてみました。

ソースコード

namespace ConsoleApplication9
{
    class Program
    {
        static void Main()
        {
            // 今の日付、時刻を取得する

            DateTime dt = DateTime.Now;
            Console.WriteLine(dt);



            Console.ReadKey();
        }
    }
}

実行結果

無題.png

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0