2009-05-04 5 views

答えて

8
Your_Date_Time_Object.ToString("MM") 
+0

あなたはそれに私を打ちます。 1つの行でそれを行うための+1。 – Kredns

0
DateTime date = DateTime.Now;    // Use current date 
string format = "MM";      // Use this format 
Console.WriteLine(date.ToString(format)); // Write to console 
関連する問題