0
datetime 개체 (초기화 됨)가 있는데 월 부분을 MM으로 어떻게 출력 할 수 있습니까?C# datetime을 기준으로 월을 MM으로 출력 하시겠습니까?
datetime 개체 (초기화 됨)가 있는데 월 부분을 MM으로 어떻게 출력 할 수 있습니까?C# datetime을 기준으로 월을 MM으로 출력 하시겠습니까?
Your_Date_Time_Object.ToString("MM")
DateTime date = DateTime.Now; // Use current date
string format = "MM"; // Use this format
Console.WriteLine(date.ToString(format)); // Write to console
당신은 그것에 나를 이길. +1을 한 행에 입력하십시오. – Kredns