asp.net.ph

DateTime.ToString Method

System Namespace   DateTime Structure


Converts the value of this instance to its equivalent string representation.

Overload List

1. Converts the value of this instance to its equivalent string.

2. Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.

3. Converts the value of this instance to its equivalent string representation using the specified format.

4. Converts the value of this instance to its equivalent string representation using the specified format and culture-specific format information.


Example

The below demonstrates using the different ways of formatting a DateTime instance using patterns derived from the DateTimeFormatInfo used by the current culture setting.

 Show me 

See Also

DateTime Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph