Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

Convert..::..ToIsoTimestamp Method (DateTime)

Formats DateTime as ISO string

Namespace:  Suoranta.WebApp.Util
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public static string ToIsoTimestamp(
	DateTime dt
)

Parameters

dt
Type: DateTime

Return Value

Timestamp and its offset in ISO format

Exceptions


ExceptionCondition
FormatExceptionThrown when Kind is Unspecified.