The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
X509Certificate::FormatDate Method (DateTime)
.NET Framework (current version)
Converts the specified date and time to a string.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- date
-
Type:
System::DateTime
The date and time to convert.
Some cultures cannot convert future dates into strings. If the expiration date of an X.509 certificate is beyond the range of the culture, FormatDate falls back to a calendar that can express the date. If the Calendar value is UmAlQuraCalendar, the calendar is changed to the HijriCalendar class; otherwise, it is changed to the InvariantCulture.
.NET Framework
Available since 4.0
Available since 4.0
Show: