Converts a DataTime object to a date format string.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function SerializeDateValue( _
ByVal d As Date _
) As String |
Visual Basic (Usage) | Copy Code |
---|
Dim d As Date
Dim value As String
value = Serializer.SerializeDateValue(d) |
Parameters
- d
- DateTime object to convert
Return Value
String containing the serialized date-time value
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also