Extensions ToISO8601String Method CTCT Wrapper Documented Class Library
Converts a DateTime object to an ISO8601 representation.

Namespace: CTCT.Util
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public static string ToISO8601String(
	this Nullable<DateTime> dateTime
)

Parameters

dateTime
Type: System Nullable DateTime 
DateTime.

Return Value

Returns the ISO8601 string representation for the provided datetime.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Nullable DateTime . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also