Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToString Method

DateTime.ToString Method

Converts the value of the current DateTime object to its equivalent string representation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString() Converts the value of the current DateTime object to its equivalent string representation. (Overrides ValueType.ToString().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString(IFormatProvider) Converts the value of the current DateTime object to its equivalent string representation using the specified culture-specific format information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString(String) Converts the value of the current DateTime object to its equivalent string representation using the specified format.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString(String, IFormatProvider) Converts the value of the current DateTime object to its equivalent string representation using the specified format and culture-specific format information.
Top

Community Additions

ADD
Show:
© 2015 Microsoft