X509Certificate.FormatDate(DateTime) 메서드

정의

지정된 날짜 및 시간을 문자열로 변환합니다.

protected:
 static System::String ^ FormatDate(DateTime date);
protected static string FormatDate (DateTime date);
static member FormatDate : DateTime -> string
Protected Shared Function FormatDate (date As DateTime) As String

매개 변수

date
DateTime

변환할 날짜 및 시간입니다.

반환

String

DateTime 개체 값의 문자열 표현입니다.

설명

일부 문화권에서는 이후 날짜를 문자열로 변환할 수 없습니다. X.509 인증서의 만료 날짜가 문화권 FormatDate 범위를 벗어나면 날짜를 표현할 수 있는 일정으로 대체됩니다. 값이 CalendarUmAlQuraCalendar달력이 클래스로 HijriCalendar 변경되고, 그렇지 않으면 .로 변경됩니다 InvariantCulture.

적용 대상