IMetadataServiceFormatDateTime Method

Formats the specified date time value.

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
string FormatDateTime(
	DateTime value,
	string format
)

Parameters

value
Type: SystemDateTime
The value.
format
Type: SystemString
The format.

Return Value

Type: String
The formatted value.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
ArgumentExceptionformat is either or Empty.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also