SE_connection_get_database_time

Gets current database time

Usage syntax

LONG SE_connection_get_database_time (SE_CONNECTION handle, struct tm *db_time)
 

Parameters
connection The current connection handle
db_time The returned database time.
Description

This function returns the current database time of the database for the specified connection.

If this function is being called through a Visual Basic application, the user must make sure the daylight savings time (DST) information is not lost. If the DST information is lost during translation (as in a VB wrapper application), then set the DST to -1 (unknown) before passing it back to a C API function.

Returns

SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_CONNECTION
SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED