Share via


ToDateTime Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts the String to a DateTime equivalent.

Namespace:  Ws.Services.Serialization
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
Public Shared Function ToDateTime ( _
    s As String _
) As DateTime
public static DateTime ToDateTime(
    string s
)
public:
static DateTime ToDateTime(
    String^ s
)
static member ToDateTime : 
        s:string -> DateTime 
public static function ToDateTime(
    s : String
) : DateTime

Parameters

Return Value

Type: System. . :: . .DateTime
The DateTime equivalent of the string.

.NET Framework Security

See Also

Reference

WsXmlConvert Class

Ws.Services.Serialization Namespace