Share via


SearchAdminDashboardWebpart.FormatDateTime Method

Returns a string formatted as a date and time.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Shared Function FormatDateTime ( _
    dateTime As DateTime _
) As String
'Usage
Dim dateTime As DateTime
Dim returnValue As String

returnValue = SearchAdminDashboardWebpart.FormatDateTime(dateTime)
protected static string FormatDateTime(
    DateTime dateTime
)

Parameters

Return Value

Type: System.String

See Also

Reference

SearchAdminDashboardWebpart Class

SearchAdminDashboardWebpart Members

Microsoft.Office.Server.Search.WebControls Namespace