Symphony Framework
DateFormatter Method
Symphony.dB.SQLSupport Namespace > Formatters Class : DateFormatter Method
the DateTime value to convert.
The chosen database.
Converts the passed DateTime value to a string object containing a formatted date value, specific to the chosen database, of the DateTime value.
Syntax
public static object DateFormatter( 
   Nullable<DateTime> inDate,
   ServerTypes serverType
)

Parameters

inDate
the DateTime value to convert.
serverType
The chosen database.

Return Value

Returns a string object containing a formatted value, specific to the chosen database, of the date portion of the DateTime value.
Remarks
Any expcetions encountered will be recorded in the Symphony Event Log.

These methods are designed to be used by the Symphony.dB.SQLDispatcher class and not from user code.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Formatters Class
Formatters Members