|
Purpose |
Obtains the current date and time | |
|
Old name |
#define _get_date tf_get_date_time | |
|
Syntax (CCOWN) |
void tf_get_date_time(datetype * date, timetype * time) | |
|
Syntax (DP4DBAPI) |
BOOLEAN dp4_sf_get_date_time(CONN *conn,datetype * date,timetype * time); | |
|
Parameters |
datetype* date |
Pointer to a variable to hold the current date |
|
|
timetype* time |
Pointer to a variable to hold the current time |
|
Description |
The tf_get_date_time() function gets the current date and time from the operating system. It is called by all DP4 C programs at startup to set the global variables app_start_time and app_start_date. | |
|
Example |
See the example on tf_set_date_time() | |