ComponentSpace SAML Class Library Reference

SAML.ToDateTimeString Method (DateTime)

Returns a date/time string formatted as: yyyy-mm-ddThh:mm:ssZ.

[Visual Basic]
Overloads Public Shared Function ToDateTimeString( _
   ByVal dateTime As Date _
) As String
[C#]
public static string ToDateTimeString(
   DateTime dateTime
);

Parameters

dateTime
the date/time

Return Value

the formatted string

Remarks

As per the SAML specification, all date/time values should be coordinated universal time (UTC).

See Also

SAML Class | ComponentSpace.SAML Namespace | SAML.ToDateTimeString Overload List