CacheGetServerTime

  Previous topic Next topic  

CacheGetServerTime ( hConnection ) -> cServerTime

The function returns the time of the server where Caché Database is running in the format hh:mm:ss.

<hConnection> defaults to
1) If call to USED() equals TRUE and RDDNAME() equals 'CACHERDD', the connection handle being used by current work area.
2) Otherwise current connection

This is assumed that this function may be used in data entry screens so the connection handle used defaults to current work area handle if one is available otherwise current connection handle.