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
- dateTime
Type: System.DateTime
A DateTime structure representing a moment in time.
Return Value
Type: System.String
See Also
Reference
SearchAdminDashboardWebpart Class