SiteInfo.FormatShortDateAndTimeFromSiteTime Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function FormatShortDateAndTimeFromSiteTime ( _
dtInSiteTimeZone As DateTime _
) As String
'Usage
Dim instance As SiteInfo
Dim dtInSiteTimeZone As DateTime
Dim returnValue As String
returnValue = instance.FormatShortDateAndTimeFromSiteTime(dtInSiteTimeZone)
public string FormatShortDateAndTimeFromSiteTime(
DateTime dtInSiteTimeZone
)
Parameters
- dtInSiteTimeZone
Type: System.DateTime
Return Value
Type: System.String