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

Parameters

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

Return Value

Returns a string object containing a formatted time value, specific to the chosen database, of the time 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