This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts the value of the given DateTime to the equivalent string representation specified by the ISO-8601 standard ("yyyy-MM-ddTHH:mm:ss").

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static string ToIsoString(
	 dt
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function ToIsoString ( _
	dt As  _
) As 

Parameters

dt
DateTime
A DateTime.

Return Value

A string representation of the value of the given DateTime as specified by the ISO-8601 standard.

Remarks

This pattern is a defined standard. Therefore, it is always the same regardless of the culture or the format provider.

See Also

Advanced