FormatDate(DateTime,Boolean) Method
See Also 
SourceCode.Security.UserRoleManager.Management.UserRoleCriteria Namespace > Utility Class > FormatDate Method : FormatDate(DateTime,Boolean) Method



theDate
showTime

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function FormatDate( _
   ByVal theDate As Date, _
   ByVal showTime As Boolean _
) As String
Visual Basic (Usage) Copy Code
Dim theDate As Date
Dim showTime As Boolean
Dim value As String
 
value = Utility.FormatDate(theDate, showTime)
C#  
public static string FormatDate( 
   DateTime theDate,
   bool showTime
)
C++/CLI  
public:
static String^ FormatDate( 
   DateTime theDate,
   bool showTime
) 

Parameters

theDate
showTime

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also