Symphony Framework
FromPSQLTime Method
Symphony.dB.SQLSupport Namespace > Converters Class : FromPSQLTime Method
Pass in the TimeSpan value to be converted.
Should the conversion include seconds in the result.
Convert a TimeSpan to an integer value.
Syntax
public static int FromPSQLTime( 
   TimeSpan inTime,
   bool includeSeconds
)

Parameters

inTime
Pass in the TimeSpan value to be converted.
includeSeconds
Should the conversion include seconds in the result.

Return Value

An integer value representing the time in HHMM or HHMMSS format.
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

Converters Class
Converters Members