CacheGetServerDate

  Previous topic Next topic  

CacheGetServerDate ( hConnection ) -> dServerDate

The function returns date of the server where Caché Database is running. The date is returned in the current date format set by Set( _DATE_FORMAT ).

<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.