FormatDate(DateTime,Boolean,String) Method
See Also 
SourceCode.Workflow.Management.Criteria Namespace > Utility Class > FormatDate Method : FormatDate(DateTime,Boolean,String) Method



theDate
showTime
pattern

Glossary Item Box

Syntax

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

Parameters

theDate
showTime
pattern

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