Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function FormatDate( _ ByVal theDate As Date, _ ByVal showTime As Boolean _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim theDate As Date Dim showTime As Boolean Dim value As String value = Utility.FormatDate(theDate, showTime) |
Parameters
- theDate
- showTime
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