ConvertToDbTime

(ODBC Manager Library)

Description:              Provides a conversion of a time value into the format used by the indicated database.

Returns:                The time value, converted to the specified database format

 Format:                    \ODBCManager\ConvertToDbTime(  dbType,  ValueIn[,  NoDelimiters])

Parameters:          dbType                       { numeric }  { required }  { no default:}

                             Indicates the database type for use in selecting the appropriate time format.  Refer to Database Type Codes used in the ODBC Manager for a list of the flags.

                             ValueIn        { numeric }  { required }  { no default:}

                             Numeric time value expressed in seconds since midnight

                                    NoDelimiters            { Boolean }  { optional }  { default: true}

                             If this parameter evaluates to true (non-zero), then text delimiters will be suppressed in the output value.  Defaults to true

Comments:               This module is a member of the ODBCManager Library, and must therefore be prefaced by \ODBCManager\, as shown in "Format" above.