Converts the value of the current Time object to its equivalent string representation using the specified format.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Function ToString( _
ByVal format As String _
) As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Time
Dim format As String
Dim value As String
value = instance.ToString(format)
|
Parameters
- format
- A time format string
Return Value
Equivalent string representation
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also