Spread Windows Forms 6.0 Product Documentation
SerializeDateValue Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : SerializeDateValue Method


d
DateTime object to convert

Glossary Item Box

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)
C# 
public static string SerializeDateValue( 
   DateTime d
)

Parameters

d
DateTime object to convert

Return Value

String containing the serialized date-time value

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.