To short date time string conversion.

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static string ToShortDateTimeString(
	this DateTime dateTime
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function ToShortDateTimeString ( 
	dateTime As DateTime
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ ToShortDateTimeString(
	DateTime dateTime
)
F#
static member ToShortDateTimeString : 
        dateTime : DateTime -> string 

Parameters

dateTime
Type: System..::..DateTime
DateTime

Return Value

Type: String
Short date time string

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also